From 9b1c553f81a053c117cc5a176aa81c932f88b754 Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Mon, 16 Apr 2018 11:02:35 +0200 Subject: [PATCH] Add template keyword for get calls Signed-off-by: Jonathan Youett <youett@math.fu-berlin.de> --- dune/subgrid/common/variant.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dune/subgrid/common/variant.hh b/dune/subgrid/common/variant.hh index 4b23e38..8e54786 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; } -- GitLab