diff --git a/include/implicit_point.h b/include/implicit_point.h index 3edbf99..de3fe1f 100644 --- a/include/implicit_point.h +++ b/include/implicit_point.h @@ -65,6 +65,7 @@ class genericPoint { public: genericPoint(const Point_Type& t) : type(t) {} + virtual ~genericPoint() = default; Point_Type getType() const { return type; } bool is2D() const { return type <= SSI; }