mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Add const references detected by clang-tidy
This commit is contained in:
parent
2d0ee20ff3
commit
a3cb1b096f
57 changed files with 120 additions and 120 deletions
|
@ -1683,7 +1683,7 @@ void ScriptEditorDebugger::_item_menu_id_pressed(int p_option) {
|
|||
// Parse back the `file:line @ method()` string.
|
||||
const Vector<String> file_line_number = ci->get_text(1).split("@")[0].strip_edges().split(":");
|
||||
ERR_FAIL_COND_MSG(file_line_number.size() < 2, "Incorrect C++ source stack trace file:line format (please report).");
|
||||
const String file = file_line_number[0];
|
||||
const String &file = file_line_number[0];
|
||||
const int line_number = file_line_number[1].to_int();
|
||||
|
||||
// Construct a GitHub repository URL and open it in the user's default web browser.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue