From 60792f26f056cbf307b1890da0bf1cb384e528f3 Mon Sep 17 00:00:00 2001 From: Xu Zhongxing Date: Wed, 13 Dec 2023 14:41:18 +0800 Subject: [PATCH] 0033552: Foundation Classes - NCollection_BaseMap move ctor clears wrong pointer Replaced correct class member to clear --- src/NCollection/NCollection_BaseMap.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }