diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /util/string/subst.cpp | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/string/subst.cpp')
-rw-r--r-- | util/string/subst.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/string/subst.cpp b/util/string/subst.cpp index b2df328dc1..9a19d702c6 100644 --- a/util/string/subst.cpp +++ b/util/string/subst.cpp @@ -1,4 +1,4 @@ -#include "subst.h" +#include "subst.h" #include <util/generic/strbuf.h> #include <util/generic/string.h> @@ -175,9 +175,9 @@ size_t SubstGlobal(TUtf32String& text, const TUtf32StringBuf what, const TUtf32S size_t SubstGlobal(std::u16string& text, const TWtringBuf what, const TWtringBuf with, size_t from) { return SubstGlobalImpl(text, - std::u16string_view(reinterpret_cast<const char16_t*>(what.data()), what.size()), - std::u16string_view(reinterpret_cast<const char16_t*>(with.data()), with.size()), - from); + std::u16string_view(reinterpret_cast<const char16_t*>(what.data()), what.size()), + std::u16string_view(reinterpret_cast<const char16_t*>(with.data()), with.size()), + from); } size_t SubstGlobal(TString& text, char what, char with, size_t from) { @@ -197,5 +197,5 @@ size_t SubstGlobal(std::u16string& text, wchar16 what, wchar16 with, size_t from } size_t SubstGlobal(TUtf32String& text, wchar32 what, wchar32 with, size_t from) { - return SubstCharGlobalImpl(text, (char32_t)what, (char32_t)with, from); + return SubstCharGlobalImpl(text, (char32_t)what, (char32_t)with, from); } |