summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp
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 /vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp
parent60b142c007083c773e910b44cc57d65e7f2c9274 (diff)
Add noexcept specifiers.
Diffstat (limited to 'vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp')
-rw-r--r--vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp b/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp
index 13b0d003909..eb82425c819 100644
--- a/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp
+++ b/vespalib/src/tests/simple_thread_bundle/threading_speed_test.cpp
@@ -19,7 +19,7 @@ struct Worker : Runnable {
size_t iter;
uint64_t input;
uint64_t output;
- Worker() : iter(1), input(0), output(0) {}
+ Worker() noexcept : iter(1), input(0), output(0) {}
void init(size_t n, uint64_t i) {
iter = n;
input = i;