Fix Option destructor that was not virtual
This commit is contained in:
parent
4d45fa6588
commit
3efeb67861
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user