Merge pull request #9128 from abouvier/patch-1

tests: fix for -Wall
This commit is contained in:
liamwhite 2022-10-25 12:36:25 -04:00 committed by GitHub
commit d8e3380ea5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ public:
[[nodiscard]] unsigned Count() const noexcept {
unsigned count = 0;
for (const auto [index, value] : page_table) {
for (const auto& [index, value] : page_table) {
count += value;
}
return count;