aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/string.cpp
diff options
context:
space:
mode:
authormowgli <mowgli@yandex-team.ru>2022-02-10 16:49:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:25 +0300
commit56c39b3cf908e7202b1f7551a1653681e8015607 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/string.cpp
parent89afbbe4ca0e02e386dd4df08f7945f190dc1b84 (diff)
downloadydb-56c39b3cf908e7202b1f7551a1653681e8015607.tar.gz
Restoring authorship annotation for <mowgli@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/string.cpp')
-rw-r--r--util/generic/string.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/string.cpp b/util/generic/string.cpp
index 167e8ba0f9..3c655f1f66 100644
--- a/util/generic/string.cpp
+++ b/util/generic/string.cpp
@@ -45,12 +45,12 @@ TBasicString<wchar16, std::char_traits<wchar16>>::AppendAscii(const ::TStringBuf
auto dst = begin() + size() - s.size();
for (const char* src = s.data(); dst != end(); ++dst, ++src) {
- *dst = static_cast<wchar16>(*src);
- }
+ *dst = static_cast<wchar16>(*src);
+ }
return *this;
-}
-
+}
+
template <>
TUtf16String&
TBasicString<wchar16, std::char_traits<wchar16>>::AppendUtf8(const ::TStringBuf& s) {