From 9cc41a458b1e63ec10dd5964959781aba7e2306e Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 6 Jun 2015 18:43:08 +0100 Subject: Add missing virtual destructor to OptionsSource --- project2/common/optionsSource.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project2/common/optionsSource.h b/project2/common/optionsSource.h index 4e0792b..7f1deee 100644 --- a/project2/common/optionsSource.h +++ b/project2/common/optionsSource.h @@ -20,6 +20,8 @@ typedef boost::shared_ptr OptionsSourcePtr; /// Base class of things that load options class OptionsSource { public: + virtual ~OptionsSource() = default; + virtual void loadInto(const ConfigConsumer &, const Options::CurrentPlatform & platform) const = 0; virtual boost::posix_time::ptime modifiedTime() const = 0; -- cgit v1.2.3