mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-12 18:29:35 +08:00
0031671: Coding Rules - eliminate warnings issued by clang 11
Fixed -Wdeprecated-copy warning by removing trivial operator=. Fixed formatting issues in places producing -Wmisleading-indentation warning.
This commit is contained in:
@@ -79,15 +79,8 @@ protected:
|
||||
initV (theVector, theToEnd);
|
||||
}
|
||||
|
||||
Iterator (const Iterator& theVector)
|
||||
{
|
||||
copyV (theVector);
|
||||
}
|
||||
|
||||
Standard_EXPORT void initV (const NCollection_BaseVector& theVector, Standard_Boolean theToEnd = Standard_False);
|
||||
|
||||
Standard_EXPORT void copyV (const Iterator&);
|
||||
|
||||
Standard_Boolean moreV() const
|
||||
{
|
||||
return (myICurBlock < myIEndBlock || myCurIndex < myEndIndex);
|
||||
@@ -136,6 +129,7 @@ protected:
|
||||
return &myVector->myData[myICurBlock];
|
||||
}
|
||||
|
||||
protected:
|
||||
const NCollection_BaseVector* myVector; //!< the Master vector
|
||||
Standard_Integer myICurBlock; //!< # of the current block
|
||||
Standard_Integer myIEndBlock;
|
||||
|
||||
Reference in New Issue
Block a user