Skip to content

Commit

Permalink
Gui: fix -Winconsistent-missing-override, TD: fix -Wunused-parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Aug 21, 2021
1 parent ca043dc commit 378dec7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/ViewProviderPart.h
Expand Up @@ -48,7 +48,7 @@ class GuiExport ViewProviderPart : public ViewProviderDragger,

/// deliver the icon shown in the tree view
/// override from ViewProvider.h
virtual QIcon getIcon(void) const;
virtual QIcon getIcon(void) const override;

protected:
/// get called by the container whenever a property has been changed
Expand Down
2 changes: 2 additions & 0 deletions src/Mod/TechDraw/App/Cosmetic.cpp
Expand Up @@ -1003,6 +1003,8 @@ std::pair<Base::Vector3d, Base::Vector3d> CenterLine::calcEndPoints2Lines(DrawVi
double rotate, bool flip)

{
Q_UNUSED(flip)

// Base::Console().Message("CL::calc2Lines() - mode: %d flip: %d edgeNames: %d\n", mode, flip, edgeNames.size());
std::pair<Base::Vector3d, Base::Vector3d> result;
if (edgeNames.empty()) {
Expand Down

0 comments on commit 378dec7

Please sign in to comment.