Przeglądaj źródła

test: lib/meta include review (thanks iwyu)

Michele Caini 2 lat temu
rodzic
commit
a669b84e6a

+ 1 - 0
test/lib/meta/plugin/main.cpp

@@ -4,6 +4,7 @@
 #include <cr.h>
 #include <entt/core/hashed_string.hpp>
 #include <entt/locator/locator.hpp>
+#include <entt/meta/context.hpp>
 #include <entt/meta/factory.hpp>
 #include <entt/meta/meta.hpp>
 #include <entt/meta/resolve.hpp>

+ 1 - 0
test/lib/meta/plugin/types.h

@@ -2,6 +2,7 @@
 #define ENTT_LIB_META_PLUGIN_TYPES_H
 
 #include <entt/locator/locator.hpp>
+#include <entt/meta/context.hpp>
 #include <entt/meta/meta.hpp>
 
 struct userdata {

+ 2 - 0
test/lib/meta/plugin_std/main.cpp

@@ -3,6 +3,8 @@
 #include <gtest/gtest.h>
 #include <cr.h>
 #include <entt/core/hashed_string.hpp>
+#include <entt/locator/locator.hpp>
+#include <entt/meta/context.hpp>
 #include <entt/meta/factory.hpp>
 #include <entt/meta/meta.hpp>
 #include <entt/meta/resolve.hpp>

+ 1 - 0
test/lib/meta/plugin_std/plugin.cpp

@@ -1,5 +1,6 @@
 #include <cr.h>
 #include <entt/core/hashed_string.hpp>
+#include <entt/locator/locator.hpp>
 #include <entt/meta/context.hpp>
 #include <entt/meta/factory.hpp>
 #include <entt/meta/meta.hpp>

+ 1 - 0
test/lib/meta/plugin_std/types.h

@@ -4,6 +4,7 @@
 #include <type_traits>
 #include <entt/core/hashed_string.hpp>
 #include <entt/core/type_info.hpp>
+#include <entt/meta/context.hpp>
 #include <entt/meta/meta.hpp>
 
 template<typename>

+ 2 - 0
test/lib/meta/shared/lib.cpp

@@ -1,5 +1,7 @@
 #include <entt/core/attribute.h>
 #include <entt/core/hashed_string.hpp>
+#include <entt/locator/locator.hpp>
+#include <entt/meta/context.hpp>
 #include <entt/meta/factory.hpp>
 #include <entt/meta/meta.hpp>
 #include "../common/types.h"

+ 2 - 0
test/lib/meta/shared/main.cpp

@@ -1,6 +1,8 @@
 #include <gtest/gtest.h>
 #include <entt/core/attribute.h>
 #include <entt/core/hashed_string.hpp>
+#include <entt/locator/locator.hpp>
+#include <entt/meta/context.hpp>
 #include <entt/meta/factory.hpp>
 #include <entt/meta/meta.hpp>
 #include <entt/meta/resolve.hpp>