SMESH: [skip ci] fix -Wdelete-non-virtual-dtor

This commit is contained in:
wmayer
2020-12-29 10:36:07 +01:00
parent 2559f2d29c
commit ed3acd466d

View File

@@ -53,7 +53,7 @@ namespace SMESH{
class SMESHCONTROLS_EXPORT Functor
{
public:
~Functor(){}
virtual ~Functor(){}
virtual void SetMesh( const SMDS_Mesh* theMesh ) = 0;
virtual SMDSAbs_ElementType GetType() const = 0;
};