aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime/base.h
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commitbd30392c4cc92487950adc375c07adf52da1d592 (patch)
treee8d1a3f19b7fc890bcef6e4cc5de41f1d88c9ac3 /util/datetime/base.h
parent5d50718e66d9c037dc587a0211110b7d25a66185 (diff)
downloadydb-bd30392c4cc92487950adc375c07adf52da1d592.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/datetime/base.h')
-rw-r--r--util/datetime/base.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/datetime/base.h b/util/datetime/base.h
index 5e902b8f63..a16db8df98 100644
--- a/util/datetime/base.h
+++ b/util/datetime/base.h
@@ -167,10 +167,10 @@ public:
return MicroSecondsOfSecond() * (TValue)1000;
}
- constexpr explicit operator bool() const noexcept {
- return Value_;
- }
-
+ constexpr explicit operator bool() const noexcept {
+ return Value_;
+ }
+
protected:
TValue Value_; // microseconds count
};
@@ -311,7 +311,7 @@ public:
static TDuration Parse(const TStringBuf input);
static bool TryParse(const TStringBuf input, TDuration& result);
-
+
// note global Out method is defined for TDuration, so it could be written to IOutputStream as text
template <class T>