mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
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:
parent
c598f2bd66
commit
0a766bb86f
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue