summaryrefslogtreecommitdiff
path: root/core/debugger/debugger_marshalls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/debugger/debugger_marshalls.cpp')
-rw-r--r--core/debugger/debugger_marshalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/debugger/debugger_marshalls.cpp b/core/debugger/debugger_marshalls.cpp
index b832dd58d5..2353a6ebf8 100644
--- a/core/debugger/debugger_marshalls.cpp
+++ b/core/debugger/debugger_marshalls.cpp
@@ -40,7 +40,7 @@ Array DebuggerMarshalls::ResourceUsage::serialize() {
Array arr;
arr.push_back(infos.size() * 4);
- for (ResourceInfo &E : infos) {
+ for (const ResourceInfo &E : infos) {
arr.push_back(E.path);
arr.push_back(E.format);
arr.push_back(E.type);