diff options
| author | avalanche <[email protected]> | 2022-02-10 16:50:26 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:26 +0300 |
| commit | b40cc40ac4588f461fa8dc466985465710d88689 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/json/writer/json_value.cpp | |
| parent | 4422570d2e28fa161af3bdebef958131ea4c63b4 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/json/writer/json_value.cpp')
| -rw-r--r-- | library/cpp/json/writer/json_value.cpp | 6 |
1 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 aefd4baa88d..c61e8d1dc43 100644 --- a/library/cpp/json/writer/json_value.cpp +++ b/library/cpp/json/writer/json_value.cpp @@ -306,11 +306,11 @@ namespace NJson { case JSON_UINTEGER: case JSON_DOUBLE: break; - } + } Zero(Value); Type = JSON_UNDEFINED; - } - + } + TJsonValue& TJsonValue::operator[](const size_t idx) { SetType(JSON_ARRAY); if (Value.Array->size() <= idx) |
