Skip to content

Commit

Permalink
added const for fault
Browse files Browse the repository at this point in the history
  • Loading branch information
HeiJuli authored and endJunction committed Jul 26, 2023
1 parent da723ce commit e67fe83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MeshToolsLib/MeshGenerators/AddFaultToVoxelGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ bool isVoxelGrid(MeshLib::Mesh const& mesh)
namespace MeshToolsLib::MeshGenerator::AddFaultToVoxelGrid
{
bool addFaultToVoxelGrid(MeshLib::Mesh* mesh,
MeshLib::Mesh* fault,
MeshLib::Mesh const* fault,
int const fault_id)
{
if (mesh == nullptr)
Expand Down
2 changes: 1 addition & 1 deletion MeshToolsLib/MeshGenerators/AddFaultToVoxelGrid.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Mesh;
namespace MeshToolsLib::MeshGenerator::AddFaultToVoxelGrid
{
bool addFaultToVoxelGrid(MeshLib::Mesh* mesh,
MeshLib::Mesh* fault,
MeshLib::Mesh const* fault,
int const fault_id);

} // namespace MeshToolsLib::MeshGenerator::AddFaultToVoxelGrid

0 comments on commit e67fe83

Please sign in to comment.