Gui: fix -Winconsistent-missing-override, TD: fix -Wunused-parameter

This commit is contained in:
wmayer
2021-08-21 12:15:43 +02:00
parent ca043dcb6d
commit 378dec720c
2 changed files with 3 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ public:
/// 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

View File

@@ -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()) {