aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/cast.h
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/string/cast.h
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
downloadydb-948fd24d47d4b3b7815aaef1686aea00ef3f4288.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/cast.h')
-rw-r--r--util/string/cast.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/string/cast.h b/util/string/cast.h
index 90e925c194..af827da78b 100644
--- a/util/string/cast.h
+++ b/util/string/cast.h
@@ -165,11 +165,11 @@ inline T FromString(const std::string& s) {
return ::FromString<T>(s.data(), s.size());
}
-template <>
+template <>
inline TString FromString<TString>(const TString& s) {
- return s;
-}
-
+ return s;
+}
+
template <class T>
inline T FromString(const TWtringBuf& s) {
return ::FromString<T, typename TWtringBuf::char_type>(s.data(), s.size());