Add wextra level warnings.
This commit is contained in:
parent
e559f9674d
commit
119ea6f2cc
62 changed files with 235 additions and 231 deletions
|
@ -1,6 +1,6 @@
|
|||
#include "AbstractMesh.h"
|
||||
|
||||
void AbstractMesh::addConstantNodeVectorAttribute(const std::string& tag, const std::vector<double>& values)
|
||||
void AbstractMesh::addConstantNodeVectorAttribute(const std::string&, const std::vector<double>&)
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ AbstractMesh::~AbstractMesh()
|
|||
|
||||
}
|
||||
|
||||
std::vector<std::vector<double> > AbstractMesh::getNodeVectorAttributes(const std::string& tag)
|
||||
std::vector<std::vector<double> > AbstractMesh::getNodeVectorAttributes(const std::string&)
|
||||
{
|
||||
std::vector<std::vector<double> > attribs(mNodes.size());
|
||||
return attribs;
|
||||
|
|
|
@ -101,7 +101,7 @@ std::unique_ptr<LineMesh> MeshPrimitives::buildCircleAsLineMesh(std::size_t numS
|
|||
return MeshBuilder::buildLineMesh(locations, edge_ids);
|
||||
}
|
||||
|
||||
std::unique_ptr<TriMesh> MeshPrimitives::buildRoundedRectangleAsTriMesh(double radius, double aspect_ratio, std::size_t num_segments)
|
||||
std::unique_ptr<TriMesh> MeshPrimitives::buildRoundedRectangleAsTriMesh(double radius, double, std::size_t num_segments)
|
||||
{
|
||||
std::size_t num_fans = 4;
|
||||
std::size_t num_nodes_per_fan = num_segments + 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue