diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-11 11:44:18 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2017-04-11 11:44:18 +0200 |
commit | 7eb4fd85820569211bfb9e72723df51b1ad80135 (patch) | |
tree | 62bf88eb5f7cc2e5d4177a629b803c6541da853d /storageapi | |
parent | 9368c2ac5c56313704212f0b5e0d620d639bc541 (diff) |
add override in storageapi module
Diffstat (limited to 'storageapi')
-rw-r--r-- | storageapi/src/vespa/storageapi/messageapi/storagemessage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storageapi/src/vespa/storageapi/messageapi/storagemessage.h b/storageapi/src/vespa/storageapi/messageapi/storagemessage.h index 6d16a6546f9..47dd93a9535 100644 --- a/storageapi/src/vespa/storageapi/messageapi/storagemessage.h +++ b/storageapi/src/vespa/storageapi/messageapi/storagemessage.h @@ -44,7 +44,7 @@ public: \ private: \ virtual bool callHandler( \ MessageHandler& h, \ - const std::shared_ptr<StorageMessage>& m) const \ + const std::shared_ptr<StorageMessage>& m) const override \ { \ return h.callback(std::static_pointer_cast<reply>(m)); \ } @@ -52,7 +52,7 @@ private: \ /** Commands also has a command to implement to create the reply. */ #define DECLARE_STORAGECOMMAND(command, callback) \ public: \ - std::unique_ptr<StorageReply> makeReply(); \ + std::unique_ptr<StorageReply> makeReply() override; \ DECLARE_STORAGEREPLY(command, callback) /** This macro implements common stuff for all storage messages. */ |