Make Range destructor virtual.

This quiets the following compiler warning:

   warning: destructor called on non-final 'Interval' that has virtual functions but non-virtual destructor
This commit is contained in:
Shaun Ruffell 2018-11-12 19:58:16 -06:00 committed by lauft
parent c598f2bd66
commit 0a766bb86f

View file

@ -34,6 +34,7 @@ class Range
{
public:
Range () = default;
virtual ~Range() = default;
Range (const Datetime&, const Datetime&);
bool operator== (const Range&) const;
bool operator!= (const Range&) const;