summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-02-01 14:23:40 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-02-01 14:23:40 +0000
commit1ee55333e81ce57989f010c1f1e42e8afa8709d9 (patch)
tree1d492152de0a378eeca05dabe5bd0e32c9dee2d5 /vespalib
parent06cb101c01b422011d8875cd174490a2cfb35cea (diff)
Implement BucketExecutor::sync.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/executor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/vespa/vespalib/util/executor.h b/vespalib/src/vespa/vespalib/util/executor.h
index 57ad28344b9..ce610f4e84c 100644
--- a/vespalib/src/vespa/vespalib/util/executor.h
+++ b/vespalib/src/vespa/vespalib/util/executor.h
@@ -20,7 +20,7 @@ public:
struct Task {
typedef std::unique_ptr<Task> UP;
virtual void run() = 0;
- virtual ~Task() {}
+ virtual ~Task() = default;
};
enum class OptimizeFor {LATENCY, THROUGHPUT, ADAPTIVE};
@@ -41,7 +41,7 @@ public:
* In case you have a lazy executor that naps inbetween.
**/
virtual void wakeup() = 0;
- virtual ~Executor() =default;
+ virtual ~Executor() = default;
};
} // namespace vespalib