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 9347f66a9e
commit eec03e20cc

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