diff options
| author | 2022-10-25 12:36:25 -0400 | |
|---|---|---|
| committer | 2022-10-25 12:36:25 -0400 | |
| commit | d8e3380ea529daf3b57b8bb5a4e97baa69a5dfad (patch) | |
| tree | 4550fcf7cbfe1577cb25c233ff78e477f87a63bd /src | |
| parent | Merge pull request #9113 from german77/peer_pressure (diff) | |
| parent | tests: fix for -Wall (diff) | |
| download | yuzu-d8e3380ea529daf3b57b8bb5a4e97baa69a5dfad.tar.gz yuzu-d8e3380ea529daf3b57b8bb5a4e97baa69a5dfad.tar.xz yuzu-d8e3380ea529daf3b57b8bb5a4e97baa69a5dfad.zip | |
Merge pull request #9128 from abouvier/patch-1
tests: fix for -Wall
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/video_core/buffer_base.cpp | 2 |
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; |