diff options
| author | Per Larsson <[email protected]> | 2022-01-22 11:11:34 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2022-01-22 11:11:34 +0100 |
| commit | aef9c292beae2245da35f60fa8c8bd9c52fd248f (patch) | |
| tree | 798c254a0a3c867b5bc79c676684de7d47de6cc9 /zencore/stats.cpp | |
| parent | Use ExtendablePathBuilders (diff) | |
| download | zen-aef9c292beae2245da35f60fa8c8bd9c52fd248f.tar.xz zen-aef9c292beae2245da35f60fa8c8bd9c52fd248f.zip | |
Format fix.
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 |