diff options
author | Wilson E. Alvarez <wilson.e.alvarez@rubonnek.com> | 2023-11-18 17:40:56 -0500 |
---|---|---|
committer | Wilson E. Alvarez <wilson.e.alvarez@rubonnek.com> | 2023-12-16 13:36:44 -0500 |
commit | a3cb1b096fcecad03562205bd285ebefc816c64a (patch) | |
tree | 3966ab0682c6269c60de7b438d51b30ae164ffde /core/debugger | |
parent | 2d0ee20ff30461b6b10f6fdfba87511a0ebc6642 (diff) | |
download | redot-engine-a3cb1b096fcecad03562205bd285ebefc816c64a.tar.gz |
Add const references detected by clang-tidy
Diffstat (limited to 'core/debugger')
-rw-r--r-- | core/debugger/engine_debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debugger/engine_debugger.cpp b/core/debugger/engine_debugger.cpp index 32dc060aa2..0cce44d02f 100644 --- a/core/debugger/engine_debugger.cpp +++ b/core/debugger/engine_debugger.cpp @@ -162,7 +162,7 @@ void EngineDebugger::initialize(const String &p_uri, bool p_skip_breakpoints, Ve singleton_script_debugger->set_skip_breakpoints(p_skip_breakpoints); for (int i = 0; i < p_breakpoints.size(); i++) { - String bp = p_breakpoints[i]; + const String &bp = p_breakpoints[i]; int sp = bp.rfind(":"); ERR_CONTINUE_MSG(sp == -1, "Invalid breakpoint: '" + bp + "', expected file:line format."); |