Commit 697cdb18 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fix_property_manager_get_mesh' into 'master'

fix dynamic_cast in PropertyManager::getMesh

See merge request !237
parents 28726e54 e7c5fbde
Pipeline #13015 passed with stages
in 201 minutes and 43 seconds
......@@ -297,9 +297,9 @@ class PropertyManager {
*
*/
template <typename MeshType >
const MeshType& getMesh() const { return dynamic_cast<MeshType&>(mesh_); }
const MeshType& getMesh() const { return dynamic_cast<const MeshType&>(mesh_); }
const MeshT& getMesh() const { return dynamic_cast<MeshT&>(mesh_); }
const MeshT& getMesh() const { return dynamic_cast<const MeshT&>(mesh_); }
/**
......
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