mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0025397: Iteration on a tree of nodes is too slow
Added "const Handle(TDataStd_TreeNode)&" for the method TDataStd_ChildNodeIterator::Value().
This commit is contained in:
parent
28746337be
commit
09f5e48e01
@ -59,6 +59,7 @@ is
|
|||||||
|
|
||||||
Value(me) returns TreeNode from TDataStd;
|
Value(me) returns TreeNode from TDataStd;
|
||||||
---C++: inline
|
---C++: inline
|
||||||
|
---C++: return const &
|
||||||
---Purpose: Returns the current item; a null Step if there is
|
---Purpose: Returns the current item; a null Step if there is
|
||||||
-- no one.
|
-- no one.
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ inline Standard_Boolean TDataStd_ChildNodeIterator::More() const
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
inline Handle(TDataStd_TreeNode) TDataStd_ChildNodeIterator::Value() const
|
inline const Handle(TDataStd_TreeNode)& TDataStd_ChildNodeIterator::Value() const
|
||||||
{
|
{
|
||||||
return myNode;
|
return myNode;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user