From 40bddbaac34ece542a057aa97eb63db6f1c5775e Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 5 Apr 2017 20:59:01 +0200 Subject: Including storage now builds fine with override enforcement. --- config/src/vespa/config/helper/ifetchercallback.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'config') 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 class IFetcherCallback : public ICallback { -public: - virtual ~IFetcherCallback() { } protected: - virtual void configure(std::unique_ptr config) override { + void configure(std::unique_ptr config) override { configure(std::unique_ptr(static_cast(config.release()))); } virtual void configure(std::unique_ptr config) = 0; }; } // namespace config - -- cgit v1.2.3