From 34b6258a73fdaa1717453029b9090c06c4ae1ec1 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:09:00 +0100
Subject: [PATCH] [cleanup] Remove deprecated code related to element by
 reference

Code was deprecated in Dune 2.6
---
 dune/geometry/referenceelement.hh | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/dune/geometry/referenceelement.hh b/dune/geometry/referenceelement.hh
index 45ef39b3..910c754a 100644
--- a/dune/geometry/referenceelement.hh
+++ b/dune/geometry/referenceelement.hh
@@ -22,10 +22,6 @@ namespace Dune {
     template<typename ctype, int dim>
     class ReferenceElementImplementation;
 
-    // forward declaration for deprecation check reference element type
-    template<typename ctype, int dim>
-    class DeprecatedReferenceElement;
-
     // forward declaration for backwards compatibility conversion
     template<typename ctype, int dim>
     struct ReferenceElements;
@@ -286,17 +282,6 @@ namespace Dune {
         return *_impl;
       }
 
-#ifndef DOXYGEN
-
-      DUNE_DEPRECATED_MSG("Capturing reference elements by reference is deprecated in DUNE 2.6. Please store a copy instead.")
-      operator const DeprecatedReferenceElement<ctype,dimension>&() const
-      {
-        return ReferenceElements<ctype,dimension>::deprecated(*this);
-      }
-
-#endif // DOXYGEN
-
-
       //! Compares for equality with another reference element.
       bool operator==(const ReferenceElement& r) const
       {
-- 
GitLab