diff options
| author | tranvick <[email protected]> | 2022-02-10 16:50:26 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:26 +0300 |
| commit | 6f09bec5f69ec7fcf5ce4084dc7d4b7c10b58656 (patch) | |
| tree | 485632adfc3fcf8d034939d40381972a536ccc0f /library/cpp/json/writer/json_value.cpp | |
| parent | b40cc40ac4588f461fa8dc466985465710d88689 (diff) | |
Restoring authorship annotation for <[email protected]>. 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 c61e8d1dc43..058cdd99ca9 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)); } |
