diff options
author | vadim-xd <vadim-xd@yandex-team.com> | 2023-10-18 01:10:44 +0300 |
---|---|---|
committer | vadim-xd <vadim-xd@yandex-team.com> | 2023-10-18 01:33:52 +0300 |
commit | 5effc63f93f286bf6177da673934ce1cfbd255df (patch) | |
tree | 026a6717027008793084882d20fdde204207625f | |
parent | 35f4b62b12d72e4f7147e179e4e5f78a291acf60 (diff) | |
download | ydb-5effc63f93f286bf6177da673934ce1cfbd255df.tar.gz |
Remove copy of json map
-rw-r--r-- | library/cpp/protobuf/json/json2proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/cpp/protobuf/json/json2proto.cpp b/library/cpp/protobuf/json/json2proto.cpp index 0a623736cc..b4a788a270 100644 --- a/library/cpp/protobuf/json/json2proto.cpp +++ b/library/cpp/protobuf/json/json2proto.cpp @@ -446,7 +446,7 @@ Json2RepeatedField(const NJson::TJsonValue& json, Y_ASSERT(!!reflection); if (isMap) { - const THashMap<TString, NJson::TJsonValue> jsonMap = fieldJson.GetMap(); + const THashMap<TString, NJson::TJsonValue>& jsonMap = fieldJson.GetMap(); for (const auto& x : jsonMap) { const TString& key = x.first; const NJson::TJsonValue& jsonValue = x.second; |