0023304: Copying constructor fails to copy both 'myIndx' variables.
[occt.git] / src / BRepMesh / BRepMesh_PairOfIndex.hxx
index 362f035..df269e1 100755 (executable)
@@ -38,7 +38,7 @@ public:
   BRepMesh_PairOfIndex(const BRepMesh_PairOfIndex& theOther)
   {
     myIndx1 = theOther.myIndx1;
-    myIndx1 = theOther.myIndx2;
+    myIndx2 = theOther.myIndx2;
   }
 
   //! Clear indices