diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-12-01 10:51:20 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-12-01 10:51:20 +0000 |
commit | 76ed35ea52b5ab35ab91a59aeefb7a154052060f (patch) | |
tree | f8126013346e77197593bc1d74af9ccb7751b6bf /searchcore | |
parent | 26c16eeb3d4d792938ab9af9aff1e01b540a6f42 (diff) |
Misc cleanup of includes and code health
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/apps/vespa-proton-cmd/vespa-proton-cmd.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/searchcore/src/apps/vespa-proton-cmd/vespa-proton-cmd.cpp b/searchcore/src/apps/vespa-proton-cmd/vespa-proton-cmd.cpp index 8c7e6f13c18..8b6203c78a2 100644 --- a/searchcore/src/apps/vespa-proton-cmd/vespa-proton-cmd.cpp +++ b/searchcore/src/apps/vespa-proton-cmd/vespa-proton-cmd.cpp @@ -3,7 +3,8 @@ #include <vespa/slobrok/sbmirror.h> #include <vespa/config/common/configsystem.h> #include <vespa/config/common/exceptions.h> -#include <vespa/fnet/frt/frt.h> +#include <vespa/fnet/frt/supervisor.h> +#include <vespa/fnet/frt/target.h> #include <vespa/vespalib/util/host_name.h> #include <vespa/vespalib/util/stringfmt.h> #include <vespa/vespalib/util/time.h> @@ -28,10 +29,12 @@ private: FRT_RPCRequest *_req; public: - App() : _frt(), - _target(nullptr), - _req(nullptr) {} - virtual ~App() + App() + : _frt(), + _target(nullptr), + _req(nullptr) + {} + ~App() override { assert(!_frt); assert(_target == nullptr); |