diff --git a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp index c72c61fa6b48c8f297f1e98197f3417104cfa5b7..0801ac227756c268a5953d51c8ac279e37102d37 100644 --- a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp +++ b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.cpp @@ -84,7 +84,8 @@ bool Mesh2MeshPropertyInterpolation::setPropertiesForMesh(Mesh& dest_mesh) const } void Mesh2MeshPropertyInterpolation::interpolatePropertiesForMesh( - Mesh& dest_mesh, MeshLib::PropertyVector<double>& dest_properties) const + Mesh const& dest_mesh, + MeshLib::PropertyVector<double>& dest_properties) const { std::vector<double> interpolated_src_node_properties( _src_mesh.getNumberOfNodes()); diff --git a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.h b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.h index becf37c8a013a643f9ddeefa8120aafa00f359f2..636f4ba6a4be06b82e4fc78955c9ed47d0319dd5 100644 --- a/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.h +++ b/MeshLib/MeshEditing/Mesh2MeshPropertyInterpolation.h @@ -53,7 +53,7 @@ private: * @param dest_properties */ void interpolatePropertiesForMesh( - Mesh& dest_mesh, + Mesh const& dest_mesh, MeshLib::PropertyVector<double>& dest_properties) const; /**