aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/subst.h
diff options
context:
space:
mode:
authormvel <mvel@yandex-team.ru>2022-02-10 16:45:41 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:41 +0300
commit43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch)
treee98df59de24d2ef7c77baed9f41e4875a2fef972 /util/string/subst.h
parentbd30392c4cc92487950adc375c07adf52da1d592 (diff)
downloadydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/string/subst.h')
-rw-r--r--util/string/subst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/string/subst.h b/util/string/subst.h
index ab8ea56a56..45b622fbef 100644
--- a/util/string/subst.h
+++ b/util/string/subst.h
@@ -3,7 +3,7 @@
#include <util/generic/fwd.h>
#include <stlfwd>
-
+
/* Replace all occurences of substring `what` with string `with` starting from position `from`.
*
* @param text String to modify.
@@ -18,7 +18,7 @@ size_t SubstGlobal(std::string& text, TStringBuf what, TStringBuf with, size_t f
size_t SubstGlobal(TUtf16String& text, TWtringBuf what, TWtringBuf with, size_t from = 0);
size_t SubstGlobal(std::u16string& text, TWtringBuf what, TWtringBuf with, size_t from = 0);
size_t SubstGlobal(TUtf32String& text, TUtf32StringBuf what, TUtf32StringBuf with, size_t from = 0);
-
+
/* Replace all occurences of character `what` with character `with` starting from position `from`.
*
* @param text String to modify.