Skip to content
Snippets Groups Projects
Commit fda362dd authored by Paul Bone's avatar Paul Bone
Browse files

Bug 1826298 - Fix a use of an `auto` type without a reference r=glandium

parent d7dcc615
No related branches found
No related tags found
No related merge requests found
......@@ -728,7 +728,7 @@ class GMut {
// The total fragmentation in PHC
size_t FragmentationBytes() const {
size_t sum = 0;
for (auto page : mAllocPages) {
for (const auto& page : mAllocPages) {
sum += page.FragmentationBytes();
}
return sum;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment