diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-11-26 20:29:06 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-11-26 20:29:06 +0200 |
commit | 4a64303d7110285d2b61bd29ea89d1390cc9a094 (patch) | |
tree | 692ceb60f66429a4cb61168b65bdba4966429475 /src | |
parent | Merge pull request #4830 (diff) | |
parent | json_archive: initialize inner_array_size in ctor (diff) | |
download | monero-4a64303d7110285d2b61bd29ea89d1390cc9a094.tar.xz |
Merge pull request #4831
c5ee14ae json_archive: initialize inner_array_size in ctor (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/serialization/json_archive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization/json_archive.h b/src/serialization/json_archive.h index f906b5d3b..04436c21c 100644 --- a/src/serialization/json_archive.h +++ b/src/serialization/json_archive.h @@ -113,7 +113,7 @@ struct json_archive; template <> struct json_archive<true> : public json_archive_base<std::ostream, true> { - json_archive(stream_type &s, bool indent = false) : base_type(s, indent) { } + json_archive(stream_type &s, bool indent = false) : base_type(s, indent), inner_array_size_(0) { } template<typename T> static auto promote_to_printable_integer_type(T v) -> decltype(+v) |