projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0031004: Coding - eliminate warnings issued by gcc 9.1.0
[occt.git]
/
src
/
IntRes2d
/
IntRes2d_Intersection.hxx
diff --git
a/src/IntRes2d/IntRes2d_Intersection.hxx
b/src/IntRes2d/IntRes2d_Intersection.hxx
index
ab39e3b
..
3553054
100644
(file)
--- a/
src/IntRes2d/IntRes2d_Intersection.hxx
+++ b/
src/IntRes2d/IntRes2d_Intersection.hxx
@@
-87,6
+87,16
@@
protected:
IntRes2d_Intersection(const IntRes2d_Intersection& Other);
IntRes2d_Intersection(const IntRes2d_Intersection& Other);
+ //! Assignment
+ IntRes2d_Intersection& operator= (const IntRes2d_Intersection& theOther)
+ {
+ done = theOther.done;
+ reverse = theOther.reverse;
+ lpnt = theOther.lpnt;
+ lseg = theOther.lseg;
+ return *this;
+ }
+
//! Destructor is protected, for safe inheritance
~IntRes2d_Intersection () {}
//! Destructor is protected, for safe inheritance
~IntRes2d_Intersection () {}
@@
-104,18
+114,12
@@
protected:
Standard_Boolean ReversedParameters() const;
Standard_Boolean ReversedParameters() const;
+protected:
- Standard_Boolean done;
-
-
-private:
-
-
-
- Standard_Boolean reverse;
IntRes2d_SequenceOfIntersectionPoint lpnt;
IntRes2d_SequenceOfIntersectionSegment lseg;
IntRes2d_SequenceOfIntersectionPoint lpnt;
IntRes2d_SequenceOfIntersectionSegment lseg;
-
+ Standard_Boolean done;
+ Standard_Boolean reverse;
};
};