summaryrefslogtreecommitdiffstats
path: root/editor/debugger/editor_performance_profiler.h
diff options
context:
space:
mode:
authorMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-02-15 13:25:58 -0300
committerMuller-Castro <37383316+Muller-Castro@users.noreply.github.com>2024-02-26 15:28:15 -0300
commit1638c1b28f4b79546864872ef25b3c28f4860b56 (patch)
treedacb36ef5b2f92dae0ccab7b40afaeeedf432ae5 /editor/debugger/editor_performance_profiler.h
parentbb6b06c81343073f10cbbd2af515cf0dac1e6549 (diff)
downloadredot-engine-1638c1b28f4b79546864872ef25b3c28f4860b56.tar.gz
Add const lvalue ref to editor/* container parameters
Diffstat (limited to 'editor/debugger/editor_performance_profiler.h')
-rw-r--r--editor/debugger/editor_performance_profiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/debugger/editor_performance_profiler.h b/editor/debugger/editor_performance_profiler.h
index 6211cc39a4..4afe82b4bd 100644
--- a/editor/debugger/editor_performance_profiler.h
+++ b/editor/debugger/editor_performance_profiler.h
@@ -54,7 +54,7 @@ private:
int frame_index = 0;
Monitor();
- Monitor(String p_name, String p_base, int p_frame_index, Performance::MonitorType p_type, TreeItem *p_item);
+ Monitor(const String &p_name, const String &p_base, int p_frame_index, Performance::MonitorType p_type, TreeItem *p_item);
void update_value(float p_value);
void reset();
};