From: sbh Date: Mon, 9 Feb 2015 15:20:04 +0000 (+0300) Subject: Make master compilable under linux X-Git-Tag: V_1.0.0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f2b824352efd1d87659563e3a9bfbaa53f0ec3a2;p=modules%2Fshaper.git Make master compilable under linux --- diff --git a/src/SketchPlugin/SketchPlugin_Sketch.cpp b/src/SketchPlugin/SketchPlugin_Sketch.cpp index bda3bd879..28bb02e15 100644 --- a/src/SketchPlugin/SketchPlugin_Sketch.cpp +++ b/src/SketchPlugin/SketchPlugin_Sketch.cpp @@ -151,7 +151,7 @@ void SketchPlugin_Sketch::removeFeature(ModelAPI_Feature* theFeature) // if the object is not found in the sketch sub-elements, that means that the object is removed already. // Find the first empty element and remove it if (!isRemoved && aHasEmtpyFeature) - data()->reflist(SketchPlugin_Sketch::FEATURES_ID())->remove(NULL); + data()->reflist(SketchPlugin_Sketch::FEATURES_ID())->remove(ObjectPtr()); } int SketchPlugin_Sketch::numberOfSubs() const