diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2022-10-25 12:36:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-25 12:36:25 -0400 |
| commit | 22acf5cddb2047bb2b2ff0a2d6b9329915ff14a3 (patch) | |
| tree | 4550fcf7cbfe1577cb25c233ff78e477f87a63bd /src | |
| parent | 1910dce4a4e2fb6d50daa7d48c5c59e49c478929 (diff) | |
| parent | 8dbd9adb4a2b0e0ddf236fb0952dafdaca44349c (diff) | |
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 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; |
