Alexandre Bouvier пре 3 година
родитељ
комит
fa9b7db76f
1 измењених фајлова са 1 додато и 1 уклоњено
  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;