diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-10-25 12:36:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 12:36:25 -0400 |
commit | d8e3380ea529daf3b57b8bb5a4e97baa69a5dfad (patch) | |
tree | 4550fcf7cbfe1577cb25c233ff78e477f87a63bd /src | |
parent | e59bd6c3355874b9680993658b0711a7e07d1fb1 (diff) | |
parent | fa9b7db76f4c179e2af2f6f1974f92858586d533 (diff) |
Merge pull request #9128 from abouvier/patch-1
tests: fix for -Wall
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/video_core/buffer_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/video_core/buffer_base.cpp b/src/tests/video_core/buffer_base.cpp index 71121e42a..f7236afab 100644 --- a/src/tests/video_core/buffer_base.cpp +++ b/src/tests/video_core/buffer_base.cpp @@ -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; |