Fix Option destructor that was not virtual

This commit is contained in:
Maxime Coste 2014-04-30 19:40:23 +01:00
parent 4d45fa6588
commit 3efeb67861

View File

@ -50,6 +50,8 @@ private:
class Option
{
public:
virtual ~Option() = default;
template<typename T> const T& get() const;
template<typename T> void set(const T& val);
template<typename T> bool is_of_type() const;