aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/fasttime.cpp
diff options
context:
space:
mode:
authorelantsev <elantsev@yandex-team.ru>2022-02-10 16:49:47 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:47 +0300
commit095c2e55a230f89487c2f2caace05e108742d72c (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/fasttime.cpp
parentafa1b6e6f8b6ee9f8df080d41bcb19b95c25c261 (diff)
downloadydb-095c2e55a230f89487c2f2caace05e108742d72c.tar.gz
Restoring authorship annotation for <elantsev@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/fasttime.cpp')
-rw-r--r--util/system/fasttime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/system/fasttime.cpp b/util/system/fasttime.cpp
index 5f6ce4e2183..057a814f0a4 100644
--- a/util/system/fasttime.cpp
+++ b/util/system/fasttime.cpp
@@ -136,9 +136,9 @@ namespace {
inline void Add(const TSample& s) noexcept {
S_[(C_++) % N] = s;
- if (C_ > 1) {
- ReCalc();
- }
+ if (C_ > 1) {
+ ReCalc();
+ }
}
inline B Predict(A a) const noexcept {