From: Pawel Date: Tue, 17 Jul 2012 13:07:03 +0000 (+0200) Subject: 0023304: Copying constructor fails to copy both 'myIndx' variables. X-Git-Tag: V6_5_4_beta1~127 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=50e433aaf287ce6b53536f3bfe0a7e69a483aad1;p=occt-copy.git 0023304: Copying constructor fails to copy both 'myIndx' variables. Copy constructor corrected. --- diff --git a/src/BRepMesh/BRepMesh_PairOfIndex.hxx b/src/BRepMesh/BRepMesh_PairOfIndex.hxx index 362f0358ce..df269e1240 100755 --- a/src/BRepMesh/BRepMesh_PairOfIndex.hxx +++ b/src/BRepMesh/BRepMesh_PairOfIndex.hxx @@ -38,7 +38,7 @@ public: BRepMesh_PairOfIndex(const BRepMesh_PairOfIndex& theOther) { myIndx1 = theOther.myIndx1; - myIndx1 = theOther.myIndx2; + myIndx2 = theOther.myIndx2; } //! Clear indices