Browse Source

Merge pull request #9128 from abouvier/patch-1

tests: fix for -Wall
liamwhite 3 years ago
parent
commit
d8e3380ea5
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;