Commit 41b9fcb4 authored by tenter's avatar tenter

return const mesh reference in mesh node

parent 5ed3920d
Pipeline #3503 passed with stage
in 34 minutes and 46 seconds
......@@ -183,7 +183,7 @@ public:
/** \brief get the internal mesh
*/
Mesh& mesh() const { return mesh_; }
const Mesh& mesh() const { return mesh_; }
private:
/// The mesh this node works on
......
Markdown is supported
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