Merge pull request #9128 from abouvier/patch-1

tests: fix for -Wall
merge-requests/60/head
liamwhite 2022-10-25 12:36:25 +07:00 committed by GitHub
commit d8e3380ea5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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