Salome HOME
23544: SMESH's performance issues
[modules/smesh.git] / src / SMDS / SMDS_Downward.hxx
index e36386c4ea7602bf57b2755c7183c4647c455b82..80206fd820e5edf3233062bca1d9ddd643667375 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2010-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2010-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -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;