From f2b824352efd1d87659563e3a9bfbaa53f0ec3a2 Mon Sep 17 00:00:00 2001 From: sbh Date: Mon, 9 Feb 2015 18:20:04 +0300 Subject: [PATCH] Make master compilable under linux --- src/SketchPlugin/SketchPlugin_Sketch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2