summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/executor/blocking_executor_stress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/executor/blocking_executor_stress.cpp')
-rw-r--r--vespalib/src/tests/executor/blocking_executor_stress.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/vespalib/src/tests/executor/blocking_executor_stress.cpp b/vespalib/src/tests/executor/blocking_executor_stress.cpp
index b753dc69373..27367f6677c 100644
--- a/vespalib/src/tests/executor/blocking_executor_stress.cpp
+++ b/vespalib/src/tests/executor/blocking_executor_stress.cpp
@@ -2,7 +2,6 @@
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/vespalib/util/blockingthreadstackexecutor.h>
#include <vespa/vespalib/util/executor.h>
-#include <vespa/vespalib/util/sync.h>
#include <atomic>
using namespace vespalib;
@@ -26,7 +25,7 @@ struct MyTask : Executor::Task {
size_t size;
size_t data;
MyTask(size_t size_in) : size(size_in), data(0) {}
- virtual void run() override {
+ void run() override {
data += do_stuff(size);
++tasks_run;
data += do_stuff(size);