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 | 31f917630d1b92e1df0bad1a1e5a620721d51593 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/json/writer/json_value.cpp | |
parent | 6f09bec5f69ec7fcf5ce4084dc7d4b7c10b58656 (diff) | |
download | ydb-31f917630d1b92e1df0bad1a1e5a620721d51593.tar.gz |
Restoring authorship annotation for <tranvick@yandex-team.ru>. Commit 2 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 058cdd99ca..c61e8d1dc4 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)); } |