Commit e7c5fbde authored by Janis Born's avatar Janis Born

fix dynamic_cast in PropertyManager::getMesh

parent 28726e54
......@@ -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