Commit 202121d9 authored by Will Schroeder's avatar Will Schroeder
Browse files

Addressed clang compiler warnings

parent e02313e7
......@@ -433,6 +433,8 @@ struct CellIter
}
}
CellIter(const CellIter &) = default; //remove compiler warnings
// Shallow copy to avoid new/delete.
CellIter& operator=(const CellIter& cellIter)
{
......@@ -526,19 +528,14 @@ struct CellIter
{
case VTK_TETRA:
return this->Tet;
break;
case VTK_HEXAHEDRON:
return this->Hex;
break;
case VTK_WEDGE:
return this->Wedge;
break;
case VTK_PYRAMID:
return this->Pyr;
break;
case VTK_VOXEL:
return this->Vox;
break;
default:
return this->Empty;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment