Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/smesh.git] / src / SMDS / SMDS_Iterator.hxx
index 144f075d13fbd1f3bc130cc245ed71abab4ad277..371bc0e1a9c47e2f0c71ac7472ef375bb3dcc7a9 100644 (file)
@@ -17,7 +17,7 @@
 //  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
@@ -36,7 +36,11 @@ template<typename VALUE> class SMDS_Iterator
        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