aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-02-26 18:28:44 +0100
committerTor Egge <Tor.Egge@online.no>2022-02-26 18:28:44 +0100
commit5ca782ee29d94e139fced55f596c32563808d923 (patch)
treef5318a2eb87270a577f1d4b409d3c1c355de2cd9 /vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp
parent937f3b4efd4df819484a58e535c928927687ad09 (diff)
Remove inlining warnings (vespalib).
Diffstat (limited to 'vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp')
-rw-r--r--vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp b/vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp
index 8d5d393fe22..5d69a18112a 100644
--- a/vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp
+++ b/vespalib/src/tests/simple_thread_bundle/simple_thread_bundle_test.cpp
@@ -37,12 +37,15 @@ struct State {
struct Blocker : Runnable {
Gate start;
+ ~Blocker() override;
void run() override {
start.await();
}
Gate done; // set externally
};
+Blocker::~Blocker() = default;
+
TEST_MT_FF("require that signals can be counted and cancelled", 2, Signal, size_t(16000)) {
if (thread_id == 0) {
for (size_t i = 0; i < f2; ++i) {