Browse Source

meta: add meta_factory to fwd file

Michele Caini 11 months ago
parent
commit
292d57a60b
2 changed files with 4 additions and 0 deletions
  1. 1 0
      src/entt/meta/factory.hpp
  2. 3 0
      src/entt/meta/fwd.hpp

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

@@ -15,6 +15,7 @@
 #include "../core/type_traits.hpp"
 #include "../locator/locator.hpp"
 #include "context.hpp"
+#include "fwd.hpp"
 #include "meta.hpp"
 #include "node.hpp"
 #include "policy.hpp"

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

@@ -19,6 +19,9 @@ struct meta_func;
 
 class meta_type;
 
+template<typename>
+class meta_factory;
+
 } // namespace entt
 
 #endif