Browse Source

tests: fix for -Wall

Fix #9123
Alexandre Bouvier 3 years ago
parent
commit
fa9b7db76f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/tests/video_core/buffer_base.cpp

+ 1 - 1
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;