1
0
Эх сурвалжийг харах

meta: workaround for an issue of VS2019 (see #314)

Michele Caini 5 жил өмнө
parent
commit
e81e0e97e0

+ 3 - 0
src/entt/meta/factory.hpp

@@ -61,6 +61,9 @@ constexpr meta_function_helper<Ret(Args...)>
 to_meta_function_helper(Ret(*)(Args...));
 
 
+constexpr void to_meta_function_helper(...);
+
+
 template<typename Candidate>
 using meta_function_helper_t = decltype(to_meta_function_helper(std::declval<Candidate>()));