mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 16:30:34 +05:00
const SMDS_MeshElement* next()
{ + if ( !more() ) return 0;
This commit is contained in:
parent
48378761b2
commit
1088385e70
@ -117,6 +117,7 @@ class SMDS_MeshNode_MyInvIterator:public SMDS_ElemIterator
|
|||||||
|
|
||||||
const SMDS_MeshElement* next()
|
const SMDS_MeshElement* next()
|
||||||
{
|
{
|
||||||
|
if ( !more() ) return 0;
|
||||||
const SMDS_MeshElement* current=myIterator.Value();
|
const SMDS_MeshElement* current=myIterator.Value();
|
||||||
myIterator.Next();
|
myIterator.Next();
|
||||||
return current;
|
return current;
|
||||||
|
Loading…
Reference in New Issue
Block a user