aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/cast.h
diff options
context:
space:
mode:
authoronpopov <onpopov@yandex-team.ru>2022-02-10 16:50:38 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:38 +0300
commit84a29dd4980d5b39615e453f289bd1a81213296d (patch)
tree5e320f10d6b5863e0d5ab1a8caa9eefbdaa5195f /util/string/cast.h
parent1717072c6635948128dad7b015a0ec05acbe913b (diff)
downloadydb-84a29dd4980d5b39615e453f289bd1a81213296d.tar.gz
Restoring authorship annotation for <onpopov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/cast.h')
-rw-r--r--util/string/cast.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/cast.h b/util/string/cast.h
index 90e925c194..6fcdb5676f 100644
--- a/util/string/cast.h
+++ b/util/string/cast.h
@@ -104,13 +104,13 @@ inline TString ToString(char* s) {
}
/*
- * Wrapper for wide strings.
- */
+ * Wrapper for wide strings.
+ */
template <class T>
inline TUtf16String ToWtring(const T& t) {
return TUtf16String::FromAscii(ToString(t));
-}
-
+}
+
inline const TUtf16String& ToWtring(const TUtf16String& w) {
return w;
}
@@ -122,7 +122,7 @@ inline const TUtf16String& ToWtring(TUtf16String& w) {
struct TFromStringException: public TBadCastException {
};
-/*
+/*
* specialized for:
* bool
* short