summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/src/vespa/config/helper/ifetchercallback.h5
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
-