From faa80a93b5cccc29ab84c6d6bdf49c2ce094dc7c Mon Sep 17 00:00:00 2001 From: sbh Date: Fri, 17 Apr 2015 15:32:29 +0300 Subject: [PATCH] Make sources compilable under linux. --- src/PartSet/PartSet_ExternalObjectsMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_ExternalObjectsMgr.cpp b/src/PartSet/PartSet_ExternalObjectsMgr.cpp index b12f92b5f..bf1eeb9b2 100644 --- a/src/PartSet/PartSet_ExternalObjectsMgr.cpp +++ b/src/PartSet/PartSet_ExternalObjectsMgr.cpp @@ -112,7 +112,7 @@ void PartSet_ExternalObjectsMgr::removeExternalValidated(const CompositeFeatureP { // TODO(nds): unite with removeExternal(), remove parameters removeExternalObject(myExternalObjectValidated, theSketch, theFeature); - myExternalObjectValidated = NULL; + myExternalObjectValidated = ObjectPtr(); } void PartSet_ExternalObjectsMgr::removeExternalObject(const ObjectPtr& theObject, -- 2.39.2