Commit 1068e486 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Use std::is_invocable instead of Std::is_invocable

parent 1bd470f1
Pipeline #37857 passed with stage
in 12 minutes and 28 seconds
......@@ -7,7 +7,6 @@
#include <utility>
#include <vector>
#include <dune/common/std/type_traits.hh>
#include <dune/common/typeutilities.hh>
#include <dune/localfunctions/common/localinterpolation.hh>
......@@ -46,7 +45,7 @@ namespace Dune
template< class Fn, class Vector >
auto interpolate ( const Fn &fn, Vector &coefficients, PriorityTag< 1 > ) const
-> std::enable_if_t< Std::is_invocable< const Fn &, decltype( this->lagrangePoints_.begin()->point() ) >::value >
-> std::enable_if_t< std::is_invocable_v< const Fn &, decltype( this->lagrangePoints_.begin()->point() ) > >
{
unsigned int index = 0;
for( const auto &lp : lagrangePoints_ )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment