diff options
author | tranvick <tranvick@yandex-team.ru> | 2022-02-10 16:50:26 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:26 +0300 |
commit | 6f09bec5f69ec7fcf5ce4084dc7d4b7c10b58656 (patch) | |
tree | 485632adfc3fcf8d034939d40381972a536ccc0f /library/cpp/json/writer/json_value.cpp | |
parent | b40cc40ac4588f461fa8dc466985465710d88689 (diff) | |
download | ydb-6f09bec5f69ec7fcf5ce4084dc7d4b7c10b58656.tar.gz |
Restoring authorship annotation for <tranvick@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/json/writer/json_value.cpp')
-rw-r--r-- | library/cpp/json/writer/json_value.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/json/writer/json_value.cpp b/library/cpp/json/writer/json_value.cpp index c61e8d1dc4..058cdd99ca 100644 --- a/library/cpp/json/writer/json_value.cpp +++ b/library/cpp/json/writer/json_value.cpp @@ -515,7 +515,7 @@ namespace NJson { TJsonValue::TArray& TJsonValue::GetArraySafe() { return const_cast<TJsonValue::TArray&>(const_cast<const TJsonValue*>(this)->GetArraySafe()); } - + bool TJsonValue::GetBooleanRobust() const noexcept { switch (Type) { case JSON_ARRAY: @@ -753,7 +753,7 @@ namespace NJson { } return false; } - + bool TJsonValue::GetValuePointer(const TStringBuf key, TJsonValue** value) noexcept { return static_cast<const TJsonValue*>(this)->GetValuePointer(key, const_cast<const TJsonValue**>(value)); } |