virtual dtors should be non-inline

This commit is contained in:
Paul Licameli 2020-06-14 20:31:44 -04:00
parent 87cae3f0c8
commit e4260e2e95
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,8 @@ Geometric TimeWarper classes
#include <wx/string.h>
#include <math.h>
TimeWarper::~TimeWarper() = default;
double IdentityTimeWarper::Warp(double originalTime) const
{
return originalTime;

View File

@ -61,7 +61,7 @@ of the warped region.
class TimeWarper /* not final */
{
public:
virtual ~TimeWarper() { }
virtual ~TimeWarper();
virtual double Warp(double originalTime) const = 0;
};