mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-17 23:53:20 +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:
@@ -14,23 +14,10 @@
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#include <NCollection_BaseVector.hxx>
|
||||
|
||||
#include <Standard_RangeError.hxx>
|
||||
#include <cstdlib>
|
||||
|
||||
//=======================================================================
|
||||
//function : NCollection_BaseVector::Iterator::copyV
|
||||
//purpose : Copy from another iterator
|
||||
//=======================================================================
|
||||
|
||||
void NCollection_BaseVector::Iterator::copyV (const NCollection_BaseVector::Iterator& theOth)
|
||||
{
|
||||
myVector = theOth.myVector;
|
||||
myICurBlock = theOth.myICurBlock;
|
||||
myIEndBlock = theOth.myIEndBlock;
|
||||
myCurIndex = theOth.myCurIndex;
|
||||
myEndIndex = theOth.myEndIndex;
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : initV
|
||||
//purpose : Initialisation of iterator by a vector
|
||||
|
||||
Reference in New Issue
Block a user