From: sbh Date: Fri, 17 Apr 2015 12:32:29 +0000 (+0300) Subject: Make sources compilable under linux. X-Git-Tag: V_1.1.0~11^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=faa80a93b5cccc29ab84c6d6bdf49c2ce094dc7c;p=modules%2Fshaper.git Make sources compilable under linux. --- 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,