0031671: Coding Rules - eliminate warnings issued by clang 11
[occt.git] / src / NCollection / NCollection_BaseList.hxx
index e98a2c3..f50adbb 100644 (file)
@@ -66,23 +66,13 @@ public:
     // ******** More
     Standard_Boolean More (void) const
     { return (myCurrent!=NULL); }
-    // ******** Assignment operator
-    Iterator& operator= (const Iterator& theIt)
-    {
-      if (&theIt != this)
-      {
-        myCurrent  = theIt.myCurrent;
-        myPrevious = theIt.myPrevious;
-      }
-      return * this;
-    }
-//skt----------------------------------------------------
+
     // ******** Comparison operator
     Standard_Boolean operator== (const Iterator& theIt) const
     {
       return myCurrent == theIt.myCurrent;
     }
-//-------------------------------------------------------
+
     //! Performs comparison of two iterators
     Standard_Boolean IsEqual (const Iterator& theOther) const
     {