summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorGravatar Alexandre Bouvier2022-10-25 15:20:23 +0000
committerGravatar GitHub2022-10-25 15:20:23 +0000
commitfa9b7db76f4c179e2af2f6f1974f92858586d533 (patch)
tree5ba9769d8e9f82532060fa6780053d30cb4f7ce8 /src/tests
parentMerge pull request #9112 from vonchenplus/deferred_draw (diff)
downloadyuzu-fa9b7db76f4c179e2af2f6f1974f92858586d533.tar.gz
yuzu-fa9b7db76f4c179e2af2f6f1974f92858586d533.tar.xz
yuzu-fa9b7db76f4c179e2af2f6f1974f92858586d533.zip
tests: fix for -Wall
Fix #9123
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/video_core/buffer_base.cpp2
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:
44 44
45 [[nodiscard]] unsigned Count() const noexcept { 45 [[nodiscard]] unsigned Count() const noexcept {
46 unsigned count = 0; 46 unsigned count = 0;
47 for (const auto [index, value] : page_table) { 47 for (const auto& [index, value] : page_table) {
48 count += value; 48 count += value;
49 } 49 }
50 return count; 50 return count;