diff --git a/Engine/source/console/engineFunctions.h b/Engine/source/console/engineFunctions.h index 1b3a51e7d..274333ea6 100644 --- a/Engine/source/console/engineFunctions.h +++ b/Engine/source/console/engineFunctions.h @@ -108,7 +108,17 @@ private: std::tie(std::get(args)...) = defaultArgs; } +#ifdef _MSC_VER == 1910 + template + struct DodgyVCHelper + { + using type = typename std::enable_if::type; + }; + + template using MaybeSelfEnabled = typename DodgyVCHelper::type; +#else template using MaybeSelfEnabled = typename std::enable_if::type; +#endif template static MaybeSelfEnabled tailInit(TailTs ...tail) { std::tuple...> argsT;