Fix compiler warnings:

fix [-Winconsistent-missing-override]
fix [-Wunused-lambda-capture]
fix [-Wunused-variable]
fix [-Wswitch]
This commit is contained in:
wmayer
2024-02-19 10:19:57 +01:00
committed by Chris Hennes
parent 1f6440b86e
commit 88b2cccc09
5 changed files with 9 additions and 11 deletions

View File

@@ -44,9 +44,11 @@ public:
//@{
/// recalculate the Feature
short mustExecute() const override;
protected:
BRepAlgoAPI_BooleanOperation* makeOperation(const TopoDS_Shape&, const TopoDS_Shape&) const override;
virtual const char *opCode() const;
BRepAlgoAPI_BooleanOperation* makeOperation(const TopoDS_Shape&,
const TopoDS_Shape&) const override;
const char *opCode() const override;
//@}
};

View File

@@ -86,7 +86,7 @@ public:
const char* getViewProviderName() const override {
return "PartGui::ViewProviderLoft";
}
void setupObject();
void setupObject() override;
//@}
protected:
@@ -118,7 +118,7 @@ public:
const char* getViewProviderName() const override {
return "PartGui::ViewProviderSweep";
}
void setupObject();
void setupObject() override;
//@}
protected: