diff --git a/dune/subgrid/common/variant.hh b/dune/subgrid/common/variant.hh index 4b23e38f1abed006f976f37556643bb4a8f05b18..8e54786cceb3e26d1998b0c1b464b781e03e8c4c 100644 --- a/dune/subgrid/common/variant.hh +++ b/dune/subgrid/common/variant.hh @@ -198,7 +198,7 @@ namespace Impl { namespace H = Dune::Hybrid; H::forEach(H::integralRange(std::integral_constant<size_t, size_>()), [&](auto i) { if(i==index_) - unions_.set(other.get<i>()); + unions_.set(other.template get<i>()); }); } @@ -211,7 +211,7 @@ namespace Impl { namespace H = Dune::Hybrid; H::forEach(H::integralRange(std::integral_constant<size_t, size_>()), [&](auto i) { if(i==index_) - unions_.set(other.get<i>()); + unions_.set(other.template get<i>()); }); return *this; }