]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Make sources compilable under linux.
authorsbh <sergey.belash@opencascade.com>
Fri, 17 Apr 2015 12:32:29 +0000 (15:32 +0300)
committersbh <sergey.belash@opencascade.com>
Fri, 17 Apr 2015 12:32:29 +0000 (15:32 +0300)
src/PartSet/PartSet_ExternalObjectsMgr.cpp

index b12f92b5f05e11978614f49697962480d3637b15..bf1eeb9b2b1180a5e3b099518b3c9a6fc5fb38c6 100644 (file)
@@ -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,