From abc81c8281f86d26e4a9f4b804640d2f3a99cb72 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Mon, 18 Jan 2021 19:46:50 +0000 Subject: Include exception where needed and use std:.make_unique --- storageapi/src/vespa/storageapi/messageapi/messagehandler.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'storageapi') diff --git a/storageapi/src/vespa/storageapi/messageapi/messagehandler.h b/storageapi/src/vespa/storageapi/messageapi/messagehandler.h index 067858a0b61..17b3413b59f 100644 --- a/storageapi/src/vespa/storageapi/messageapi/messagehandler.h +++ b/storageapi/src/vespa/storageapi/messageapi/messagehandler.h @@ -52,7 +52,6 @@ class SetSystemStateCommand; class ActivateClusterStateVersionCommand; class ActivateClusterStateVersionReply; class GetSystemStateCommand; -class GetBucketNodesCommand; class BucketsAddedCommand; class BucketsRemovedCommand; @@ -89,7 +88,6 @@ class SetNodeStateReply; class GetNodeStateReply; class SetSystemStateReply; class GetSystemStateReply; -class GetBucketNodesReply; class BucketsAddedReply; class BucketsRemovedReply; @@ -190,7 +188,7 @@ public: virtual bool onRemoveLocation(const std::shared_ptr&) { return false; } virtual bool onRemoveLocationReply(const std::shared_ptr&) { return false; } - virtual ~MessageHandler() {} + virtual ~MessageHandler() = default; }; #undef ON_M -- cgit v1.2.3