Skip to content
Snippets Groups Projects
Commit 87d41a40 authored by Timo Koch's avatar Timo Koch
Browse files

[cleanup] Remove deprecated Dune::remove_const with std::remove_const

parent 92982b2e
No related branches found
No related tags found
1 merge request!9[cleanup] Remove deprecated Dune::remove_const with std::remove_const
......@@ -199,9 +199,9 @@ class FoamGridLeafIndexSet :
{
// Grid dimension
enum {dimgrid = remove_const<GridImp>::type::dimension};
enum {dimgrid = std::remove_const<GridImp>::type::dimension};
// World dimension
enum {dimworld = remove_const<GridImp>::type::dimensionworld};
enum {dimworld = std::remove_const<GridImp>::type::dimensionworld};
public:
......@@ -421,11 +421,11 @@ class FoamGridIdSet :
//! get id of an entity
/*
We use the remove_const to extract the Type from the mutable class,
We use the std::remove_const to extract the Type from the mutable class,
because the const class is not instantiated yet.
*/
template<int cd>
IdType id (const typename remove_const<GridImp>::type::Traits::template Codim<cd>::Entity& e) const
IdType id (const typename std::remove_const<GridImp>::type::Traits::template Codim<cd>::Entity& e) const
{
return GridImp::getRealImplementation(e).target_->id_;
}
......@@ -433,10 +433,10 @@ class FoamGridIdSet :
//! get id of subEntity
/*
We use the remove_const to extract the Type from the mutable class,
We use the std::remove_const to extract the Type from the mutable class,
because the const class is not instantiated yet.
*/
IdType subId (const typename remove_const<GridImp>::type::Traits::template Codim<0>::Entity& e, int i, int codim) const
IdType subId (const typename std::remove_const<GridImp>::type::Traits::template Codim<0>::Entity& e, int i, int codim) const
{
return GridImp::getRealImplementation(e).subId(i,codim);
}
......
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