Skip to content
Snippets Groups Projects
Commit 20fedcf0 authored by Oliver Sander's avatar Oliver Sander
Browse files

constructor from a single unspecified type (i.e., TopologyType) should be explicit

[[Imported from SVN: r6295]]
parent 6d901375
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ namespace Dune {
* \param t Any object of type TopologyType. The object t itself is ignored.
*/
template<class TopologyType>
GeometryType(TopologyType t)
explicit GeometryType(TopologyType t)
: topologyId_(TopologyType::id), dim_(TopologyType::dimension), none_(false)
{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment