aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorfoton <foton@yandex-team.ru>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:25 +0300
commit80199ea5aaaa9a0af0c3845eec4a4162edc74105 (patch)
tree944cc3b5dc0697a970f0ff2a236efdbee6e18125 /util
parentca6b8a0150d5ee4cc8fb804d1285d9c32fb4fe88 (diff)
downloadydb-80199ea5aaaa9a0af0c3845eec4a4162edc74105.tar.gz
Restoring authorship annotation for <foton@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/datetime/base.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/util/datetime/base.h b/util/datetime/base.h
index 5e902b8f633..ac1c171f2a6 100644
--- a/util/datetime/base.h
+++ b/util/datetime/base.h
@@ -2,7 +2,7 @@
#include "systime.h"
-#include <util/str_stl.h>
+#include <util/str_stl.h>
#include <util/system/platform.h>
#include <util/system/datetime.h>
#include <util/generic/string.h>
@@ -340,12 +340,12 @@ public:
Y_DECLARE_PODTYPE(TDuration);
template <>
-struct THash<TDuration> {
- size_t operator()(const TDuration& key) const {
- return THash<TDuration::TValue>()(key.GetValue());
- }
-};
-
+struct THash<TDuration> {
+ size_t operator()(const TDuration& key) const {
+ return THash<TDuration::TValue>()(key.GetValue());
+ }
+};
+
/// TInstant and TDuration are guaranteed to have same precision
class TInstant: public TTimeBase<TInstant> {
using TBase = TTimeBase<TInstant>;
@@ -560,12 +560,12 @@ public:
Y_DECLARE_PODTYPE(TInstant);
template <>
-struct THash<TInstant> {
- size_t operator()(const TInstant& key) const {
- return THash<TInstant::TValue>()(key.GetValue());
- }
-};
-
+struct THash<TInstant> {
+ size_t operator()(const TInstant& key) const {
+ return THash<TInstant::TValue>()(key.GetValue());
+ }
+};
+
namespace NPrivate {
template <bool PrintUpToSeconds, bool iso>
struct TPrintableLocalTime {