mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-25 17:18:37 +08:00
0031004: Coding - eliminate warnings issued by gcc 9.1.0
Fixed -Wrestrict warning within OSD::SetSignal(). Fixed -Wdeprecated-copy warning by adding missing counterpart in pair copy constructor / assignment operator or by removing trivial constructor. AdvApp2Var_Node, AdvApp2Var_Patch are now declared as Handle. AdvApp2Var_Iso is now passed by Handle. Disabled operator= for TDF_Transaction and TDF_IDFilter. Standard.cxx - fixed GCC version mischeck causing building failure with experimental GCC versions. TopOpeBRepDS_EXPORT.cxx - fixed -Wmaybe-uninitialized warnings.
This commit is contained in:
@@ -88,14 +88,6 @@ public:
|
||||
myPtrEnd = const_cast<TheItemType*> (&theArray.Last() + 1);
|
||||
}
|
||||
|
||||
//! Assignment
|
||||
Iterator& operator= (const Iterator& theOther)
|
||||
{
|
||||
myPtrCur = theOther.myPtrCur;
|
||||
myPtrEnd = theOther.myPtrEnd;
|
||||
return *this;
|
||||
}
|
||||
|
||||
//! Check end
|
||||
Standard_Boolean More (void) const
|
||||
{ return myPtrCur < myPtrEnd; }
|
||||
|
||||
Reference in New Issue
Block a user