class with virtual methods must have virtual destructor
This commit is contained in:
parent
d7240c6b2b
commit
037cf48cef
|
@ -90,7 +90,7 @@ public:
|
|||
static int getCellDimension(unsigned char cellType);
|
||||
protected:
|
||||
SMDS_Downward(SMDS_UnstructuredGrid *grid, int nbDownCells);
|
||||
~SMDS_Downward();
|
||||
virtual ~SMDS_Downward();
|
||||
int addCell(int vtkId = -1);
|
||||
virtual void initCell(int cellId);
|
||||
virtual void allocate(int nbElems) = 0;
|
||||
|
|
|
@ -53,6 +53,7 @@ class SMDS_Mesh;
|
|||
|
||||
struct SMESHUtils_EXPORT SMESH_NodeSearcher
|
||||
{
|
||||
virtual ~SMESH_NodeSearcher() {}
|
||||
virtual const SMDS_MeshNode* FindClosestTo( const gp_Pnt& pnt ) = 0;
|
||||
virtual void MoveNode( const SMDS_MeshNode* node, const gp_Pnt& toPnt ) = 0;
|
||||
virtual int FindNearPoint(const gp_Pnt& point,
|
||||
|
|
Loading…
Reference in New Issue
Block a user