From 78ed8813338bf9ff99cabf620b7794a46bae6424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <gruenich@dune-project.org> Date: Mon, 27 Jan 2020 00:27:51 +0100 Subject: [PATCH] [cleanup] Remove deprecated GeometryType(dim) --- dune/geometry/type.hh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/dune/geometry/type.hh b/dune/geometry/type.hh index 7f8a147a..18727285 100644 --- a/dune/geometry/type.hh +++ b/dune/geometry/type.hh @@ -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); - } - /** @} */ -- GitLab