aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib/src/vespa/vespalib/util/jsonstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/util/jsonstream.h')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/jsonstream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/jsonstream.h b/staging_vespalib/src/vespa/vespalib/util/jsonstream.h
index fc2ae61b37e..d60151f0478 100644
--- a/staging_vespalib/src/vespa/vespalib/util/jsonstream.h
+++ b/staging_vespalib/src/vespa/vespalib/util/jsonstream.h
@@ -44,7 +44,7 @@ class JsonStream : public JsonStreamTypes {
string object_key;
size_t array_index;
- StateEntry()
+ StateEntry() noexcept
: state(State::ROOT), object_key(""), array_index(size_t(0)) {}
StateEntry(State s)
: state(s), object_key(""), array_index(size_t(0)) {}