diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-02 23:08:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 23:08:43 -0800 |
commit | 88089c87546b62536a27738f5ee03dff52fa76e9 (patch) | |
tree | 5221c80d0ac3e7bbdb0c342098378e6c84951658 /src/common/wall_clock.cpp | |
parent | 9abb23cd2700b57611fc25bce67581eaa6d4d3b7 (diff) | |
parent | 1ea6bdef058a789e2771511f741bffcca73c3525 (diff) |
Merge pull request #5000 from lioncash/audio-error
audio_core: Make shadowing and unused parameters errors
Diffstat (limited to 'src/common/wall_clock.cpp')
-rw-r--r-- | src/common/wall_clock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/wall_clock.cpp b/src/common/wall_clock.cpp index 452a2837e6..a8c143f853 100644 --- a/src/common/wall_clock.cpp +++ b/src/common/wall_clock.cpp @@ -17,8 +17,8 @@ using base_time_point = std::chrono::time_point<base_timer>; class StandardWallClock final : public WallClock { public: - StandardWallClock(u64 emulated_cpu_frequency, u64 emulated_clock_frequency) - : WallClock(emulated_cpu_frequency, emulated_clock_frequency, false) { + explicit StandardWallClock(u64 emulated_cpu_frequency_, u64 emulated_clock_frequency_) + : WallClock(emulated_cpu_frequency_, emulated_clock_frequency_, false) { start_time = base_timer::now(); } |