Sketcher: [skip ci] fix -Winconsistent-missing-override
This commit is contained in:
@@ -55,7 +55,7 @@ class SketchAnalysis;
|
||||
|
||||
class SketcherExport SketchObject : public Part::Part2DObject
|
||||
{
|
||||
PROPERTY_HEADER(Sketcher::SketchObject);
|
||||
PROPERTY_HEADER_WITH_OVERRIDE(Sketcher::SketchObject);
|
||||
|
||||
public:
|
||||
SketchObject();
|
||||
@@ -67,12 +67,12 @@ public:
|
||||
App ::PropertyLinkSubList ExternalGeometry;
|
||||
/** @name methods override Feature */
|
||||
//@{
|
||||
short mustExecute() const;
|
||||
short mustExecute() const override;
|
||||
/// recalculate the Feature (if no recompute is needed see also solve() and solverNeedsUpdate boolean)
|
||||
App::DocumentObjectExecReturn *execute(void);
|
||||
App::DocumentObjectExecReturn *execute(void) override;
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* getViewProviderName(void) const {
|
||||
const char* getViewProviderName(void) const override {
|
||||
return "SketcherGui::ViewProviderSketch";
|
||||
}
|
||||
//@}
|
||||
@@ -302,17 +302,17 @@ public:
|
||||
int port_reversedExternalArcs(bool justAnalyze);
|
||||
|
||||
// from base class
|
||||
virtual PyObject *getPyObject(void);
|
||||
virtual unsigned int getMemSize(void) const;
|
||||
virtual void Save(Base::Writer &/*writer*/) const;
|
||||
virtual void Restore(Base::XMLReader &/*reader*/);
|
||||
virtual PyObject *getPyObject(void) override;
|
||||
virtual unsigned int getMemSize(void) const override;
|
||||
virtual void Save(Base::Writer &/*writer*/) const override;
|
||||
virtual void Restore(Base::XMLReader &/*reader*/) override;
|
||||
|
||||
/// returns the number of construction lines (to be used as axes)
|
||||
virtual int getAxisCount(void) const;
|
||||
virtual int getAxisCount(void) const override;
|
||||
/// retrieves an axis iterating through the construction lines of the sketch (indices start at 0)
|
||||
virtual Base::Axis getAxis(int axId) const;
|
||||
virtual Base::Axis getAxis(int axId) const override;
|
||||
/// verify and accept the assigned geometry
|
||||
virtual void acceptGeometry();
|
||||
virtual void acceptGeometry() override;
|
||||
/// Check if constraint has invalid indexes
|
||||
bool evaluateConstraint(const Constraint *constraint) const;
|
||||
/// Check for constraints with invalid indexes
|
||||
@@ -410,11 +410,11 @@ public:
|
||||
|
||||
protected:
|
||||
/// get called by the container when a property has changed
|
||||
virtual void onChanged(const App::Property* /*prop*/);
|
||||
virtual void onDocumentRestored();
|
||||
virtual void restoreFinished();
|
||||
virtual void onChanged(const App::Property* /*prop*/) override;
|
||||
virtual void onDocumentRestored() override;
|
||||
virtual void restoreFinished() override;
|
||||
|
||||
virtual void setExpression(const App::ObjectIdentifier &path, boost::shared_ptr<App::Expression> expr);
|
||||
virtual void setExpression(const App::ObjectIdentifier &path, boost::shared_ptr<App::Expression> expr) override;
|
||||
|
||||
std::string validateExpression(const App::ObjectIdentifier &path, boost::shared_ptr<const App::Expression> expr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user