tests: fix for -Wall

Fix #9123
This commit is contained in:
Alexandre Bouvier 2022-10-25 15:20:23 +00:00 committed by GitHub
parent fa913a702f
commit fa9b7db76f
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;