aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/util/pb_io.cpp
diff options
context:
space:
mode:
authorelshiko <elshiko@yandex-team.ru>2022-02-10 16:49:20 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:20 +0300
commitdbb5d0d21c8cfc3d59e0f6d3b6f4ab06b58561f1 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/util/pb_io.cpp
parent455ab915435b70e433ed91eee2ca84f03122d6cb (diff)
downloadydb-dbb5d0d21c8cfc3d59e0f6d3b6f4ab06b58561f1.tar.gz
Restoring authorship annotation for <elshiko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/protobuf/util/pb_io.cpp')
-rw-r--r--library/cpp/protobuf/util/pb_io.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/protobuf/util/pb_io.cpp b/library/cpp/protobuf/util/pb_io.cpp
index d0d9b65d89..6270ee0624 100644
--- a/library/cpp/protobuf/util/pb_io.cpp
+++ b/library/cpp/protobuf/util/pb_io.cpp
@@ -21,15 +21,15 @@ namespace NProtoBuf {
}
};
- void ParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) {
+ void ParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) {
if (!m.ParseFromString(allowUneven ? Base64DecodeUneven(dataBase64) : Base64StrictDecode(dataBase64))) {
ythrow yexception() << "can't parse " << m.GetTypeName() << " from base64-encoded string";
}
}
- bool TryParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) {
+ bool TryParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) {
try {
- ParseFromBase64String(dataBase64, m, allowUneven);
+ ParseFromBase64String(dataBase64, m, allowUneven);
return true;
} catch (const std::exception&) {
return false;