aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/util
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-07-03 19:57:29 +0200
committerTor Egge <Tor.Egge@online.no>2022-07-03 19:57:29 +0200
commitb8eb1f71027af11b6db7d70d2ea10b4e98c569d4 (patch)
treea39b3852c3429ff8dfc5d9938ab85958e02e5ac5 /vespalib/src/tests/util
parenta8d3000600c89a0f0cb9c77e88dd8f64516c591d (diff)
Add noexcept specifier.
Diffstat (limited to 'vespalib/src/tests/util')
-rw-r--r--vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp b/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp
index 57c765b8e44..74af25b54a8 100644
--- a/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp
+++ b/vespalib/src/tests/util/generationhandler_stress/generation_handler_stress_test.cpp
@@ -48,11 +48,11 @@ struct IndirectContext {
static constexpr size_t values_size = 65536;
uint64_t _values[values_size];
- IndirectContext();
+ IndirectContext() noexcept;
uint64_t* calc_value_ptr(uint64_t idx) { return &_values[(idx & (values_size - 1))]; }
};
-IndirectContext::IndirectContext()
+IndirectContext::IndirectContext() noexcept
: _value_ptr(nullptr),
_pad(),
_values()