aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/json
diff options
context:
space:
mode:
authormuzich <muzich@yandex-team.ru>2022-02-10 16:49:55 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:55 +0300
commitc1979c2381cc77360b23e68225994f4b343e5acc (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/json
parentbf6bd1f317019d83a3f8d5d39c2d0e9d6d705e40 (diff)
downloadydb-c1979c2381cc77360b23e68225994f4b343e5acc.tar.gz
Restoring authorship annotation for <muzich@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json')
-rw-r--r--library/cpp/json/writer/json_value.cpp4
-rw-r--r--library/cpp/json/writer/json_value.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/json/writer/json_value.cpp b/library/cpp/json/writer/json_value.cpp
index 7862f4bfa3..c61e8d1dc4 100644
--- a/library/cpp/json/writer/json_value.cpp
+++ b/library/cpp/json/writer/json_value.cpp
@@ -895,11 +895,11 @@ namespace NJson {
if (Type == JSON_MAP) {
for (auto&& i : *Value.Map) {
- i.second.DoScan(!!path ? TString::Join(path, ".", i.first) : i.first, this, callback);
+ i.second.DoScan(!!path ? TString::Join(path, ".", i.first) : i.first, this, callback);
}
} else if (Type == JSON_ARRAY) {
for (ui32 i = 0; i < Value.Array->size(); ++i) {
- (*Value.Array)[i].DoScan(TString::Join(path, "[", ToString(i), "]"), this, callback);
+ (*Value.Array)[i].DoScan(TString::Join(path, "[", ToString(i), "]"), this, callback);
}
}
}
diff --git a/library/cpp/json/writer/json_value.h b/library/cpp/json/writer/json_value.h
index 5c490c5805..3f0f50bc4c 100644
--- a/library/cpp/json/writer/json_value.h
+++ b/library/cpp/json/writer/json_value.h
@@ -26,7 +26,7 @@ namespace NJson {
class IScanCallback {
public:
- virtual ~IScanCallback() = default;
+ virtual ~IScanCallback() = default;
virtual bool Do(const TString& path, TJsonValue* parent, TJsonValue& value) = 0;
};