aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/document_runnable.cpp4
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/document_runnable.h2
-rw-r--r--storage/src/vespa/storage/persistence/persistencethread.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/document_runnable.cpp b/staging_vespalib/src/vespa/vespalib/util/document_runnable.cpp
index 86f361ea1fe..02d8a15b300 100644
--- a/staging_vespalib/src/vespa/vespalib/util/document_runnable.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/document_runnable.cpp
@@ -5,11 +5,11 @@
namespace document {
-Runnable::Runnable(FastOS_ThreadPool* pool)
+Runnable::Runnable()
: _stateLock(),
_state(NOT_RUNNING)
{
- if (pool) start(*pool);
+ // if (pool) start(*pool);
}
Runnable::~Runnable() {
diff --git a/staging_vespalib/src/vespa/vespalib/util/document_runnable.h b/staging_vespalib/src/vespa/vespalib/util/document_runnable.h
index ec2c10d1f6e..60a67189b5b 100644
--- a/staging_vespalib/src/vespa/vespalib/util/document_runnable.h
+++ b/staging_vespalib/src/vespa/vespalib/util/document_runnable.h
@@ -42,7 +42,7 @@ public:
* Create a runnable.
* @param pool If set, runnable will be started in constructor.
*/
- Runnable(FastOS_ThreadPool* pool = nullptr);
+ Runnable();
~Runnable();
/**
diff --git a/storage/src/vespa/storage/persistence/persistencethread.h b/storage/src/vespa/storage/persistence/persistencethread.h
index 7719f796e3d..e9ab36bd7ed 100644
--- a/storage/src/vespa/storage/persistence/persistencethread.h
+++ b/storage/src/vespa/storage/persistence/persistencethread.h
@@ -16,7 +16,7 @@ namespace storage {
class BucketOwnershipNotifier;
class TestAndSetHelper;
-class PersistenceThread : public DiskThread, public Types
+class PersistenceThread final : public DiskThread, public Types
{
public:
PersistenceThread(ServiceLayerComponentRegister&,