diff options
author | mvel <mvel@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
commit | 43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /util/datetime/base.cpp | |
parent | bd30392c4cc92487950adc375c07adf52da1d592 (diff) | |
download | ydb-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.cpp | 12 |
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 { |