clang: fix -Wunused-parameter, -Wunused-variable, -Wswitch
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
# include <cassert>
|
||||
#endif // #ifndef _PreComp_
|
||||
|
||||
#include <boost/core/ignore_unused.hpp>
|
||||
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Vector3D.h>
|
||||
|
||||
@@ -316,6 +318,7 @@ GeoListModel<GeometryFacadeUniquePtr>::GeoListModel(
|
||||
// Under the Single Responsibility Principle GeoListModel cannot be made
|
||||
// responsible for releasing those pointers.
|
||||
assert(ownerT == false);
|
||||
boost::ignore_unused(ownerT);
|
||||
}
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user