opnsense-ports/cad/opencascade/files/patch-src_NCollection_NCollection__Iterator.hxx
Franco Fichtner f403dd80c6 */*: sync with upstream
Taken from: FreeBSD
2024-03-22 08:28:46 +01:00

19 lines
619 B
C++

--- src/NCollection/NCollection_Iterator.hxx.orig 2023-12-04 15:53:08 UTC
+++ src/NCollection/NCollection_Iterator.hxx
@@ -94,6 +94,16 @@ class NCollection_Iterator (public)
++(myCur);
}
+ const typename Container::const_reference Value() const
+ {
+ return *myCur;
+ }
+
+ const typename Container::reference ChangeValue()
+ {
+ return *myCur;
+ }
+
bool operator==(const NCollection_Iterator& theOther) { return myLast == theOther.myLast && myCur == theOther.myCur; }
bool operator!=(const NCollection_Iterator& theOther) { return myLast != theOther.myLast || myCur != theOther.myCur; }