Mesh: fix some clang-tidy warnings

This commit is contained in:
wmayer
2023-03-26 21:45:08 +02:00
committed by wwmayer
parent bf57f49a2e
commit f6d9a8a345
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@
using namespace Mesh;
float MeshObject::Epsilon = 1.0e-5f;
const float MeshObject::Epsilon = 1.0e-5F;
TYPESYSTEM_SOURCE(Mesh::MeshObject, Data::ComplexGeoData)
TYPESYSTEM_SOURCE(Mesh::MeshSegment, Data::Segment)

View File

@@ -428,7 +428,7 @@ private:
Base::Matrix4D _Mtrx;
MeshCore::MeshKernel _kernel;
std::vector<Segment> _segments;
static float Epsilon;
static const float Epsilon;
};
} // namespace Mesh