// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#ifndef _SMDS_Iterator_HeaderFile
#define _SMDS_Iterator_HeaderFile
virtual VALUE next()=0;
/// Delete the current element and step to the next one
- virtual void remove(){};
+ virtual void remove(){}
+
+ /// Provide virtual destructor just for case if some derived iterator
+ /// must have a destructor
+ virtual ~SMDS_Iterator(){}
};
#endif