diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-02-05 23:32:00 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-02-06 00:26:08 +0000 |
commit | 4c5a7cac411b30b9b4bd3ca067efcc9f3719b0ea (patch) | |
tree | 2e09c62b854357bbb1c8d433898d004e3f3995a5 /storageserver | |
parent | b84ef936b1cedce0b99f79e03b2fe25a8db5f7c3 (diff) |
Reduce code visibility and include only what you need from config library.
Diffstat (limited to 'storageserver')
-rw-r--r-- | storageserver/src/vespa/storageserver/app/process.cpp | 3 | ||||
-rw-r--r-- | storageserver/src/vespa/storageserver/app/process.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/storageserver/src/vespa/storageserver/app/process.cpp b/storageserver/src/vespa/storageserver/app/process.cpp index 8480f1427f2..93d19c8e6fc 100644 --- a/storageserver/src/vespa/storageserver/app/process.cpp +++ b/storageserver/src/vespa/storageserver/app/process.cpp @@ -5,6 +5,7 @@ #include <vespa/storage/storageserver/storagenode.h> #include <vespa/storage/storageserver/storagenodecontext.h> #include <vespa/vespalib/util/exceptions.h> +#include <vespa/config/subscription/configsubscriber.hpp> #include <vespa/log/log.h> LOG_SETUP(".process"); @@ -18,6 +19,8 @@ Process::Process(const config::ConfigUri & configUri) _configSubscriber(_configUri.getContext()) { } +Process::~Process() = default; + void Process::setupConfig(milliseconds subscribeTimeout) { diff --git a/storageserver/src/vespa/storageserver/app/process.h b/storageserver/src/vespa/storageserver/app/process.h index 407c8cf8881..ef461714e5b 100644 --- a/storageserver/src/vespa/storageserver/app/process.h +++ b/storageserver/src/vespa/storageserver/app/process.h @@ -42,7 +42,7 @@ public: using milliseconds = std::chrono::milliseconds; Process(const config::ConfigUri & configUri); - virtual ~Process() {} + virtual ~Process(); virtual void setupConfig(milliseconds subscribeTimeout); virtual void createNode() = 0; |