Fix several compiler warnings
* fix -Winconsistent-missing-override * fix -Wunused-but-set-variable * fix -Wunused-parameter * fix -Wunused-lambda-capture * fix -Wunused-private-field * fix -Wpessimizing-move
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
#include <Inventor/SbBox3f.h>
|
||||
#include <Inventor/SbLine.h>
|
||||
#include <Inventor/SbTime.h>
|
||||
@@ -1747,6 +1748,8 @@ void ViewProviderSketch::moveConstraint(Sketcher::Constraint* Constr, int constN
|
||||
assert(int(geomlist.size()) == extGeoCount + intGeoCount);
|
||||
assert((Constr->First >= -extGeoCount && Constr->First < intGeoCount)
|
||||
|| Constr->First != GeoEnum::GeoUndef);
|
||||
boost::ignore_unused(intGeoCount);
|
||||
boost::ignore_unused(extGeoCount);
|
||||
#endif
|
||||
|
||||
if (Constr->Type == Distance || Constr->Type == DistanceX || Constr->Type == DistanceY
|
||||
|
||||
Reference in New Issue
Block a user