0031671: Coding Rules - eliminate warnings issued by clang 11
[occt.git] / src / NCollection / NCollection_Vector.hxx
index 7594290..ef763f9 100755 (executable)
@@ -61,23 +61,12 @@ public:
     Iterator (const NCollection_Vector& theVector, Standard_Boolean theToEnd = Standard_False)
     : NCollection_BaseVector::Iterator (theVector, theToEnd) {}
 
-    //! Copy constructor
-    Iterator (const Iterator& theOther)
-    : NCollection_BaseVector::Iterator (theOther) {}
-
     //! Initialisation
     void Init (const NCollection_Vector& theVector)
     {
       initV (theVector);
     }
 
-    //! Assignment
-    Iterator& operator= (const Iterator& theOther)
-    {
-      copyV (theOther);
-      return *this;
-    }
-
     //! Check end
     Standard_Boolean More() const
     {