Skip to content
Snippets Groups Projects
Commit 78ed8813 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

[cleanup] Remove deprecated GeometryType(dim)

parent e981c627
No related branches found
No related tags found
1 merge request!136Feature/remove deprecated
Pipeline #24616 passed
......@@ -413,25 +413,6 @@ namespace Dune
DUNE_UNUSED_PARAMETER(t);
}
/** \brief Constructor for vertices and segments */
DUNE_DEPRECATED_MSG("GeometryType(unsigned dim) is deprecated in DUNE 2.7, please use Dune::GeometryTypes::cube(dim) instead")
explicit GeometryType(unsigned int dim)
: dim_(dim), none_(false), topologyId_(0)
{
assert(dim < 2);
}
/** \brief Constructor for vertices and segments */
// We need this constructor for "int" and "unsigned int",
// because otherwise GeometryType(int) would try to call the
// generic GeometryType(TopologyType) constructor
DUNE_DEPRECATED_MSG("GeometryType(dim) is deprecated in DUNE 2.7, please use Dune::GeometryTypes::cube(dim) instead")
explicit GeometryType(int dim)
: dim_(dim), none_(false), topologyId_(0)
{
assert(dim < 2);
}
/** @} */
......
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