2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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 { [[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;