PartDesign/FeaturePrimitive: suppress a -Woverloaded-virtual warning

This commit is contained in:
Alexander Golubev 2015-08-09 16:37:16 +03:00 committed by Stefan Tröger
parent c782a11aab
commit 8a2d4289f6

View File

@ -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);