diff options
Diffstat (limited to 'zencore/stats.cpp')
| -rw-r--r-- | zencore/stats.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/zencore/stats.cpp b/zencore/stats.cpp index 595c45c3f..f783ccd3d 100644 --- a/zencore/stats.cpp +++ b/zencore/stats.cpp @@ -56,8 +56,7 @@ RawEWMA::Tick(double Alpha, uint64_t Interval, uint64_t Count, bool IsInitialUpd do { Next = Value + Delta; - } - while (!m_Rate.compare_exchange_weak(Value, Next, std::memory_order_relaxed)); + } while (!m_Rate.compare_exchange_weak(Value, Next, std::memory_order_relaxed)); #endif } } @@ -706,4 +705,4 @@ stats_forcelink() #endif -} // namespace zen +} // namespace zen::metrics |