From aef9c292beae2245da35f60fa8c8bd9c52fd248f Mon Sep 17 00:00:00 2001 From: Per Larsson Date: Sat, 22 Jan 2022 11:11:34 +0100 Subject: Format fix. --- zencore/stats.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'zencore/stats.cpp') 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 -- cgit v1.2.3