aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf
diff options
context:
space:
mode:
authorabogutskiy <abogutskiy@yandex-team.ru>2022-02-10 16:50:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:05 +0300
commit78454ca6aab96463952682e635688185282ccdcd (patch)
tree17159d279d7f9d6d10d91ec91b61827342a85540 /library/cpp/protobuf
parentcf94099c3ea704df29c11dfb77e2adec41a6708d (diff)
downloadydb-78454ca6aab96463952682e635688185282ccdcd.tar.gz
Restoring authorship annotation for <abogutskiy@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf')
-rw-r--r--library/cpp/protobuf/json/string_transform.cpp4
-rw-r--r--library/cpp/protobuf/json/string_transform.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/protobuf/json/string_transform.cpp b/library/cpp/protobuf/json/string_transform.cpp
index 7c42daa6772..ccf331033a1 100644
--- a/library/cpp/protobuf/json/string_transform.cpp
+++ b/library/cpp/protobuf/json/string_transform.cpp
@@ -25,8 +25,8 @@ namespace NProtobufJson {
void TDoubleUnescapeTransform::Transform(TString& str) const {
str = google::protobuf::UnescapeCEscapeString(Unescape(str));
- }
-
+ }
+
TString TDoubleUnescapeTransform::Unescape(const TString& str) const {
if (str.empty()) {
return str;
diff --git a/library/cpp/protobuf/json/string_transform.h b/library/cpp/protobuf/json/string_transform.h
index e4b296bc011..a8e6219cacb 100644
--- a/library/cpp/protobuf/json/string_transform.h
+++ b/library/cpp/protobuf/json/string_transform.h
@@ -70,15 +70,15 @@ namespace NProtobufJson {
void Transform(TString& str) const override;
};
-
+
class TDoubleUnescapeTransform: public NProtobufJson::IStringTransform {
public:
int GetType() const override {
return NProtobufJson::IStringTransform::EscapeTransform;
}
-
+
void Transform(TString& str) const override;
-
+
private:
TString Unescape(const TString& str) const;
};