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

[cleanup] Remove deprecated code related to element by reference

Code was deprecated in Dune 2.6
parent 4575f402
No related branches found
No related tags found
1 merge request!136Feature/remove deprecated
......@@ -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
{
......
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