aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime/base.cpp
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
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/datetime/base.cpp
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/datetime/base.cpp')
-rw-r--r--util/datetime/base.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/datetime/base.cpp b/util/datetime/base.cpp
index d49bfe80fd..38ecc3ab96 100644
--- a/util/datetime/base.cpp
+++ b/util/datetime/base.cpp
@@ -6,7 +6,7 @@
#include <util/system/compat.h>
#include <util/memory/tempbuf.h>
#include <util/generic/string.h>
-#include <util/generic/strbuf.h>
+#include <util/generic/strbuf.h>
#include <util/generic/yexception.h>
TString Strftime(const char* format, const struct tm* tm) {
@@ -23,14 +23,14 @@ TString Strftime(const char* format, const struct tm* tm) {
template <>
TDuration FromStringImpl<TDuration, char>(const char* s, size_t len) {
- return TDuration::Parse(TStringBuf(s, len));
+ return TDuration::Parse(TStringBuf(s, len));
}
template <>
-bool TryFromStringImpl<TDuration, char>(const char* s, size_t len, TDuration& result) {
- return TDuration::TryParse(TStringBuf(s, len), result);
-}
-
+bool TryFromStringImpl<TDuration, char>(const char* s, size_t len, TDuration& result) {
+ return TDuration::TryParse(TStringBuf(s, len), result);
+}
+
namespace {
template <size_t N>
struct TPad {