You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use const references where possible for List range iterators
This commit is contained in:
@@ -347,7 +347,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, const Array &p_da
|
||||
|
||||
uint64_t total = 0;
|
||||
|
||||
for (DebuggerMarshalls::ResourceInfo &E : usage.infos) {
|
||||
for (const DebuggerMarshalls::ResourceInfo &E : usage.infos) {
|
||||
TreeItem *it = vmem_tree->create_item(root);
|
||||
String type = E.type;
|
||||
int bytes = E.vram;
|
||||
|
||||
Reference in New Issue
Block a user