diff options
| author | 2020-11-25 15:21:03 -0500 | |
|---|---|---|
| committer | 2020-12-03 00:54:31 -0500 | |
| commit | 1ea6bdef058a789e2771511f741bffcca73c3525 (patch) | |
| tree | 6bcfaa3649add0bb73ff5bbcf982197439c896d1 /src/common/wall_clock.h | |
| parent | Merge pull request #4959 from Morph1984/emulated-controller-styleset (diff) | |
| download | yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.gz yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.tar.xz yuzu-1ea6bdef058a789e2771511f741bffcca73c3525.zip | |
audio_core: Make shadowing and unused parameters errors
Moves the audio code closer to enabling warnings as errors in general.
Diffstat (limited to 'src/common/wall_clock.h')
| -rw-r--r-- | src/common/wall_clock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/wall_clock.h b/src/common/wall_clock.h index bc7adfbf8..cef3e9499 100644 --- a/src/common/wall_clock.h +++ b/src/common/wall_clock.h | |||
| @@ -38,9 +38,9 @@ public: | |||
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | protected: | 40 | protected: |
| 41 | WallClock(u64 emulated_cpu_frequency, u64 emulated_clock_frequency, bool is_native) | 41 | explicit WallClock(u64 emulated_cpu_frequency_, u64 emulated_clock_frequency_, bool is_native_) |
| 42 | : emulated_cpu_frequency{emulated_cpu_frequency}, | 42 | : emulated_cpu_frequency{emulated_cpu_frequency_}, |
| 43 | emulated_clock_frequency{emulated_clock_frequency}, is_native{is_native} {} | 43 | emulated_clock_frequency{emulated_clock_frequency_}, is_native{is_native_} {} |
| 44 | 44 | ||
| 45 | u64 emulated_cpu_frequency; | 45 | u64 emulated_cpu_frequency; |
| 46 | u64 emulated_clock_frequency; | 46 | u64 emulated_clock_frequency; |