Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update version number: 3.1.0a2
[modules/smesh.git]
/
src
/
SMDS
/
SMDS_Iterator.hxx
diff --git
a/src/SMDS/SMDS_Iterator.hxx
b/src/SMDS/SMDS_Iterator.hxx
index 144f075d13fbd1f3bc130cc245ed71abab4ad277..264438c7dd42fe8793bf424a5d35df14a2a6a25c 100644
(file)
--- a/
src/SMDS/SMDS_Iterator.hxx
+++ b/
src/SMDS/SMDS_Iterator.hxx
@@
-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 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
};
#endif