aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2021-12-11 02:45:14 +0100
committerTor Egge <Tor.Egge@online.no>2021-12-11 02:45:14 +0100
commit0109b1a5f3e300cbeb151a91bef027b406cace39 (patch)
tree87bfe7484f54023265da902e4cfef6b2384d2eb8 /staging_vespalib
parent60b142c007083c773e910b44cc57d65e7f2c9274 (diff)
Add noexcept specifiers.
Diffstat (limited to 'staging_vespalib')
-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)) {}