diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-12-11 02:45:14 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-12-11 02:45:14 +0100 |
commit | 0109b1a5f3e300cbeb151a91bef027b406cace39 (patch) | |
tree | 87bfe7484f54023265da902e4cfef6b2384d2eb8 /staging_vespalib | |
parent | 60b142c007083c773e910b44cc57d65e7f2c9274 (diff) |
Add noexcept specifiers.
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/jsonstream.h | 2 |
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)) {} |