diff --git a/include/gridtools/sid/as_const.hpp b/include/gridtools/sid/as_const.hpp index 0f8d9ab50d..6a9bc268eb 100644 --- a/include/gridtools/sid/as_const.hpp +++ b/include/gridtools/sid/as_const.hpp @@ -65,7 +65,7 @@ namespace gridtools { class Ptr = sid::ptr_type>, std::enable_if_t::value && !std::is_const>::value, int> = 0> auto add_const(std::true_type, Src &&src) { - return as_const(std::forward(src)); + return sid::as_const(std::forward(src)); } template