aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2022-10-25 15:20:23 +0000
committerGitHub <noreply@github.com>2022-10-25 15:20:23 +0000
commit8dbd9adb4a2b0e0ddf236fb0952dafdaca44349c (patch)
tree5ba9769d8e9f82532060fa6780053d30cb4f7ce8 /src/tests
parentd8c264af1e50cee5c71887711dbad37df89f5a01 (diff)
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 71121e42a0..f7236afabf 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;