dune-fem 2.12-git
Loading...
Searching...
No Matches
compatibility.hh
Go to the documentation of this file.
1#ifndef DUNE_FEM_MISC_COMPATIBILITY_HH
2#define DUNE_FEM_MISC_COMPATIBILITY_HH
3
4#error COMPATIBILITY HEADER SHOULD NOT BE USED ANYMORE: make_entity can be removed
5
6#include <utility>
7
8#include <dune/grid/common/entity.hh>
9#include <dune/fem/version.hh>
10
11namespace Dune
12{
13
14 namespace Fem
15 {
16
17 // make_entity
18 // -----------
19
20 template< int codim, int dim, class Grid, template< int, int, class > class Implementation >
21 [[deprecate("make_entity")]]
24 {
25 return std::move( entity );
26 }
27
28 } // namespace Fem
29
30} // end namespace Dune
31
32#endif // #ifndef DUNE_FEM_MISC_COMPATIBILITY_HH
Dune::Entity< codim, dim, Grid, Implementation > make_entity(Dune::Entity< codim, dim, Grid, Implementation > entity)
Definition compatibility.hh:23