diff --git a/src/Mod/PartDesign/App/FeaturePrimitive.h b/src/Mod/PartDesign/App/FeaturePrimitive.h index 012d4112b..29ed233a9 100644 --- a/src/Mod/PartDesign/App/FeaturePrimitive.h +++ b/src/Mod/PartDesign/App/FeaturePrimitive.h @@ -60,6 +60,10 @@ public: /// The references datum defining the primtive location App::PropertyLink CoordinateSystem; + /// Do nothing, just to suppress warning, must be redefined in derived classes + virtual App::DocumentObjectExecReturn* execute() { + return PartDesign::FeatureAddSub::execute(); + }; protected: //make the boolean ops with the primitives provided by the derived features App::DocumentObjectExecReturn* execute(const TopoDS_Shape& primitiveShape);