diff --git a/dune/subgrid/common/variant.hh b/dune/subgrid/common/variant.hh index 484e5fe8cb922e8695958fded77856a09262f2f9..85eb8bf043fdb8b1f36b94dcbe95fac86ce0298d 100644 --- a/dune/subgrid/common/variant.hh +++ b/dune/subgrid/common/variant.hh @@ -138,7 +138,7 @@ namespace Impl { } private: - TypeStorage_<Head_, std::is_literal_type<Head_>::value> head_; + TypeStorage_<Head_, std::is_trivial<Head_>::value> head_; variant_union_<Tail_...> tail_; };