diff --git a/vcg/complex/algorithms/hole.h b/vcg/complex/algorithms/hole.h index 064d1807..ecb2256b 100644 --- a/vcg/complex/algorithms/hole.h +++ b/vcg/complex/algorithms/hole.h @@ -100,6 +100,8 @@ public: ComputeQuality(); ComputeAngle(); } + // enforce virtual dtor for this class and all subclasses + virtual ~TrivialEar() = default; /// Compute the angle of the two edges of the ear. // it tries to make the computation in a precision safe way.