diff --git a/src/common/profiler.cpp b/src/common/profiler.cpp index 71df6d029..b81af2b36 100644 --- a/src/common/profiler.cpp +++ b/src/common/profiler.cpp @@ -90,10 +90,10 @@ void ProfilingManager::FinishFrame() { last_frame_end = now; } -TimingResultsAggregator::TimingResultsAggregator(size_t window_size) - : max_window_size(window_size), window_size(0) { - interframe_times.resize(window_size, Duration::zero()); - frame_times.resize(window_size, Duration::zero()); +TimingResultsAggregator::TimingResultsAggregator(size_t _window_size) + : max_window_size(_window_size), window_size(0) { + interframe_times.resize(_window_size, Duration::zero()); + frame_times.resize(_window_size, Duration::zero()); } void TimingResultsAggregator::Clear() { diff --git a/src/common/profiler.h b/src/common/profiler.h index 2f34ee622..3a6d1e4f3 100644 --- a/src/common/profiler.h +++ b/src/common/profiler.h @@ -84,7 +84,7 @@ private: */ class Timer { public: - Timer(TimingCategory& category) : category(category) { + Timer(TimingCategory& _category) : category(_category) { } void Start() { diff --git a/src/common/synchronized_wrapper.h b/src/common/synchronized_wrapper.h index 07105a198..a04a515da 100644 --- a/src/common/synchronized_wrapper.h +++ b/src/common/synchronized_wrapper.h @@ -38,8 +38,8 @@ private: template class SynchronizedRef { public: - SynchronizedRef(SynchronizedWrapper& wrapper) : wrapper(&wrapper) { - wrapper.mutex.lock(); + SynchronizedRef(SynchronizedWrapper& _wrapper) : wrapper(&_wrapper) { + _wrapper.mutex.lock(); } SynchronizedRef(SynchronizedRef&) = delete;