Mesh: modernize C++: use default member init
This commit is contained in:
@@ -31,9 +31,8 @@
|
||||
|
||||
using namespace Mesh;
|
||||
|
||||
Edge::Edge()
|
||||
: Index(-1)
|
||||
, Mesh(nullptr)
|
||||
Edge::Edge() //NOLINT
|
||||
: Mesh(nullptr)
|
||||
{
|
||||
for (int i=0; i<2; i++) {
|
||||
PIndex[i] = MeshCore::POINT_INDEX_MAX;
|
||||
|
||||
Reference in New Issue
Block a user