diff --git a/include/stdexec/__detail/__meta.hpp b/include/stdexec/__detail/__meta.hpp index ed36b5907..424da22e6 100644 --- a/include/stdexec/__detail/__meta.hpp +++ b/include/stdexec/__detail/__meta.hpp @@ -96,7 +96,7 @@ namespace stdexec { template requires __typename<__mtypeof<_Tp::value>> - inline constexpr auto __v<_Tp> = _Tp::value; + inline constexpr __mtypeof<_Tp::value> __v<_Tp> = _Tp::value; // These specializations exist because instantiating a variable template is cheaper than // instantiating a class template.