mirror of
https://github.com/godotengine/godot.git
synced 2025-11-03 15:11:19 +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
|
|
@ -2867,10 +2867,10 @@ void EditorHelpTooltip::parse_tooltip(const String &p_text) {
|
|||
PackedStringArray slices = p_text.split("|", true, 3);
|
||||
ERR_FAIL_COND_MSG(slices.size() < 4, "Invalid tooltip formatting. The expect string should be formatted as 'type|class|property|args'.");
|
||||
|
||||
String type = slices[0];
|
||||
String class_name = slices[1];
|
||||
String property_name = slices[2];
|
||||
String property_args = slices[3];
|
||||
const String &type = slices[0];
|
||||
const String &class_name = slices[1];
|
||||
const String &property_name = slices[2];
|
||||
const String &property_args = slices[3];
|
||||
|
||||
String title;
|
||||
String description;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue