Răsfoiți Sursa

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

Michele Caini 5 ani în urmă
părinte
comite
e81e0e97e0
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      src/entt/meta/factory.hpp

+ 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>()));