fix override warnings
This commit is contained in:
@@ -38,7 +38,7 @@ class AppExport DocumentObjectExtension : public App::Extension
|
||||
|
||||
//The cass does not have properties itself, but it is important to provide the property access
|
||||
//functions. see cpp file for details
|
||||
EXTENSION_PROPERTY_HEADER(App::DocumentObjectExtension );
|
||||
EXTENSION_PROPERTY_HEADER_WITH_OVERRIDE(App::DocumentObjectExtension );
|
||||
|
||||
public:
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
/// get called when object is going to be removed from the document
|
||||
virtual void onExtendedUnsetupObject();
|
||||
|
||||
virtual PyObject* getExtensionPyObject(void);
|
||||
virtual PyObject* getExtensionPyObject(void) override;
|
||||
|
||||
/// returns the type name of the ViewProviderExtension which is automatically attached
|
||||
/// to the viewprovider object when it is initiated
|
||||
|
||||
@@ -50,12 +50,12 @@ namespace App
|
||||
*/
|
||||
class AppExport GeoFeatureGroupExtension : public App::GroupExtension
|
||||
{
|
||||
EXTENSION_PROPERTY_HEADER(App::GeoFeatureGroupExtension);
|
||||
EXTENSION_PROPERTY_HEADER_WITH_OVERRIDE(App::GeoFeatureGroupExtension);
|
||||
|
||||
public:
|
||||
PropertyPlacement& placement();
|
||||
|
||||
virtual void initExtension(ExtensionContainer* obj);
|
||||
virtual void initExtension(ExtensionContainer* obj) override;
|
||||
|
||||
/**
|
||||
* @brief transformPlacement applies transform to placement of this shape.
|
||||
@@ -69,7 +69,7 @@ public:
|
||||
GeoFeatureGroupExtension(void);
|
||||
virtual ~GeoFeatureGroupExtension();
|
||||
|
||||
virtual void extensionOnChanged(const Property* p);
|
||||
virtual void extensionOnChanged(const Property* p) override;
|
||||
|
||||
/** Returns the geo feature group which contains this object.
|
||||
* In case this object is not part of any geoFeatureGroup 0 is returned.
|
||||
|
||||
@@ -37,7 +37,7 @@ class GroupExtensionPy;
|
||||
|
||||
class AppExport GroupExtension : public DocumentObjectExtension
|
||||
{
|
||||
EXTENSION_PROPERTY_HEADER(App::GroupExtension);
|
||||
EXTENSION_PROPERTY_HEADER_WITH_OVERRIDE(App::GroupExtension);
|
||||
|
||||
public:
|
||||
/// Constructor
|
||||
|
||||
Reference in New Issue
Block a user