aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/escape.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/string/escape.h
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/string/escape.h')
-rw-r--r--util/string/escape.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/string/escape.h b/util/string/escape.h
index b01be65b0e..47f3c7447b 100644
--- a/util/string/escape.h
+++ b/util/string/escape.h
@@ -1,6 +1,6 @@
#pragma once
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/strbuf.h>
template <class TChar>
@@ -49,18 +49,18 @@ static inline TBasicString<TChar> EscapeC(const TChar* str) {
return EscapeC(str, std::char_traits<TChar>::length(str));
}
-TString& EscapeC(const TStringBuf str, TString& res);
-TUtf16String& EscapeC(const TWtringBuf str, TUtf16String& res);
+TString& EscapeC(const TStringBuf str, TString& res);
+TUtf16String& EscapeC(const TWtringBuf str, TUtf16String& res);
// these two need to be methods, because of TBasicString::Quote implementation
-TString EscapeC(const TString& str);
-TUtf16String EscapeC(const TUtf16String& str);
+TString EscapeC(const TString& str);
+TUtf16String EscapeC(const TUtf16String& str);
-TString& UnescapeC(const TStringBuf str, TString& res);
-TUtf16String& UnescapeC(const TWtringBuf str, TUtf16String& res);
+TString& UnescapeC(const TStringBuf str, TString& res);
+TUtf16String& UnescapeC(const TWtringBuf str, TUtf16String& res);
-TString UnescapeC(const TStringBuf str);
-TUtf16String UnescapeC(const TWtringBuf wtr);
+TString UnescapeC(const TStringBuf str);
+TUtf16String UnescapeC(const TWtringBuf wtr);
/// Returns number of chars in escape sequence.
/// - 0, if begin >= end