Skip to content
Snippets Groups Projects
Commit e6d12cbd authored by xingjian's avatar xingjian
Browse files

use std::remove_const in any.hh/any_cast

parent 146e8b34
No related tags found
No related merge requests found
Pipeline #59261 passed
......@@ -207,7 +207,7 @@ T any_cast(any& operand)
template<typename T>
const T* any_cast(const any* operand)
{
return operand->template get<typename Dune::remove_const<T>::type>();
return operand->template get<typename std::remove_const<T>::type>();
}
......@@ -220,7 +220,7 @@ const T* any_cast(const any* operand)
template<typename T>
T* any_cast(any* operand)
{
return operand->template get<typename Dune::remove_const<T>::type>();
return operand->template get<typename std::remove_const<T>::type>();
}
......
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