Commit eb263dd1 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Replace Std::to_true_type with AlwaysTrue

parent 1bd470f1
Pipeline #37859 passed with stage
in 13 minutes and 32 seconds
......@@ -9,7 +9,7 @@
#include <vector>
#include <dune/common/fmatrix.hh>
#include <dune/common/std/type_traits.hh>
#include <dune/common/typetraits.hh>
#include <dune/common/shared_ptr.hh>
namespace Dune {
......@@ -96,7 +96,7 @@ namespace Dune {
template<class FiniteElement>
struct FiniteElementInterfaceSwitch<
FiniteElement,
typename std::enable_if<Std::to_true_type<typename FiniteElement::Traits::
typename std::enable_if<AlwaysTrue<typename FiniteElement::Traits::
LocalBasisType>::value>::type
>
{
......@@ -191,7 +191,7 @@ namespace Dune {
template<class Basis>
struct BasisInterfaceSwitch<Basis,
typename std::enable_if<
Std::to_true_type<
AlwaysTrue<
std::integral_constant<
std::size_t,
Basis::Traits::dimDomain
......
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