diff --git a/src/NCollection/NCollection_BaseMap.hxx b/src/NCollection/NCollection_BaseMap.hxx index 2e6b7f4471..07e530db08 100644 --- a/src/NCollection/NCollection_BaseMap.hxx +++ b/src/NCollection/NCollection_BaseMap.hxx @@ -178,7 +178,7 @@ public: isDouble(theOther.isDouble) { theOther.myData1 = nullptr; - theOther.myData1 = nullptr; + theOther.myData2 = nullptr; theOther.mySize = 0; theOther.myNbBuckets = 0; }