Browse files

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
  • Loading branch information...
sruffell authored and lauft committed Nov 13, 2018
1 parent c598f2b commit 0a766bb86fc54c8d2591154749f94ce6faa35b98
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Range.h
@@ -34,6 +34,7 @@ class Range
Range () = default;
virtual ~Range() = default;
Range (const Datetime&, const Datetime&);
bool operator== (const Range&) const;
bool operator!= (const Range&) const;

0 comments on commit 0a766bb

Please sign in to comment.