diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-05 20:59:01 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-04-23 13:31:24 +0200 |
commit | 40bddbaac34ece542a057aa97eb63db6f1c5775e (patch) | |
tree | 5de3547eee329ed1b064722a697d2cda9eb53476 /config | |
parent | b57308e4a134fb6139d2cb52a031d3e7185f16cf (diff) |
Including storage now builds fine with override enforcement.
Diffstat (limited to 'config')
-rw-r--r-- | config/src/vespa/config/helper/ifetchercallback.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/config/src/vespa/config/helper/ifetchercallback.h b/config/src/vespa/config/helper/ifetchercallback.h index 9bc6e848827..50c26f2d3fc 100644 --- a/config/src/vespa/config/helper/ifetchercallback.h +++ b/config/src/vespa/config/helper/ifetchercallback.h @@ -26,14 +26,11 @@ public: template <typename ConfigType> class IFetcherCallback : public ICallback { -public: - virtual ~IFetcherCallback() { } protected: - virtual void configure(std::unique_ptr<const ConfigInstance> config) override { + void configure(std::unique_ptr<const ConfigInstance> config) override { configure(std::unique_ptr<ConfigType>(static_cast<const ConfigType *>(config.release()))); } virtual void configure(std::unique_ptr<ConfigType> config) = 0; }; } // namespace config - |