Browse Source

workaround for an issue of VS2019 (close #314)

Michele Caini 6 years ago
parent
commit
752163a5c0
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/entt/meta/factory.hpp

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

@@ -64,6 +64,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>()));