diff options
author | ulanovgeorgiy <ulanovgeorgiy@yandex-team.ru> | 2022-02-10 16:50:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:37 +0300 |
commit | 55f877db25115ad21c92408279238bb2161ebc1d (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/protobuf/util/pb_io.cpp | |
parent | 36b9639452ec2d06ff4bd260c43677c4bc29dda8 (diff) | |
download | ydb-55f877db25115ad21c92408279238bb2161ebc1d.tar.gz |
Restoring authorship annotation for <ulanovgeorgiy@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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/protobuf/util/pb_io.cpp b/library/cpp/protobuf/util/pb_io.cpp index 0790e6b950..6270ee0624 100644 --- a/library/cpp/protobuf/util/pb_io.cpp +++ b/library/cpp/protobuf/util/pb_io.cpp @@ -22,7 +22,7 @@ namespace NProtoBuf { }; void ParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) { - if (!m.ParseFromString(allowUneven ? Base64DecodeUneven(dataBase64) : Base64StrictDecode(dataBase64))) { + if (!m.ParseFromString(allowUneven ? Base64DecodeUneven(dataBase64) : Base64StrictDecode(dataBase64))) { ythrow yexception() << "can't parse " << m.GetTypeName() << " from base64-encoded string"; } } |