From 200425114cbe2c58433175db67ce630cea99fd13 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 3 Mar 2022 11:47:09 +0100 Subject: [PATCH] test: address some feedback by iwyu --- test/benchmark/benchmark.cpp | 1 - test/entt/entity/helper.cpp | 1 - test/entt/entity/registry.cpp | 3 +-- test/entt/entity/runtime_view.cpp | 2 +- test/entt/entity/sigh_storage_mixin.cpp | 1 - test/entt/entity/view.cpp | 1 - test/entt/locator/locator.cpp | 2 +- test/entt/signal/dispatcher.cpp | 1 - test/entt/signal/emitter.cpp | 1 - test/entt/signal/sigh.cpp | 1 - test/snapshot/snapshot.cpp | 1 - 11 files changed, 3 insertions(+), 12 deletions(-) diff --git a/test/benchmark/benchmark.cpp b/test/benchmark/benchmark.cpp index d56d11521..ec7c6087c 100644 --- a/test/benchmark/benchmark.cpp +++ b/test/benchmark/benchmark.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include struct position { diff --git a/test/entt/entity/helper.cpp b/test/entt/entity/helper.cpp index e24650faa..8feb999ae 100644 --- a/test/entt/entity/helper.cpp +++ b/test/entt/entity/helper.cpp @@ -1,5 +1,4 @@ #include -#include #include #include #include diff --git a/test/entt/entity/registry.cpp b/test/entt/entity/registry.cpp index b363601fd..c47efa716 100644 --- a/test/entt/entity/registry.cpp +++ b/test/entt/entity/registry.cpp @@ -8,8 +8,7 @@ #include #include #include -#include -#include +#include #include #include diff --git a/test/entt/entity/runtime_view.cpp b/test/entt/entity/runtime_view.cpp index 960e4c6ce..7ba87adc8 100644 --- a/test/entt/entity/runtime_view.cpp +++ b/test/entt/entity/runtime_view.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +#include #include #include diff --git a/test/entt/entity/sigh_storage_mixin.cpp b/test/entt/entity/sigh_storage_mixin.cpp index 7e44db890..03b72413c 100644 --- a/test/entt/entity/sigh_storage_mixin.cpp +++ b/test/entt/entity/sigh_storage_mixin.cpp @@ -1,6 +1,5 @@ #include #include -#include #include #include diff --git a/test/entt/entity/view.cpp b/test/entt/entity/view.cpp index f26c63358..92caa0b31 100644 --- a/test/entt/entity/view.cpp +++ b/test/entt/entity/view.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include diff --git a/test/entt/locator/locator.cpp b/test/entt/locator/locator.cpp index a569eb9b1..1e226b110 100644 --- a/test/entt/locator/locator.cpp +++ b/test/entt/locator/locator.cpp @@ -1,6 +1,6 @@ +#include #include #include -#include "../common/throwing_allocator.hpp" struct base_service { virtual ~base_service() = default; diff --git a/test/entt/signal/dispatcher.cpp b/test/entt/signal/dispatcher.cpp index 398cbc943..22856b673 100644 --- a/test/entt/signal/dispatcher.cpp +++ b/test/entt/signal/dispatcher.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include struct an_event {}; diff --git a/test/entt/signal/emitter.cpp b/test/entt/signal/emitter.cpp index 3fed8a67a..a944273ee 100644 --- a/test/entt/signal/emitter.cpp +++ b/test/entt/signal/emitter.cpp @@ -1,5 +1,4 @@ #include -#include #include struct test_emitter: entt::emitter {}; diff --git a/test/entt/signal/sigh.cpp b/test/entt/signal/sigh.cpp index 9dd1f5660..684042acf 100644 --- a/test/entt/signal/sigh.cpp +++ b/test/entt/signal/sigh.cpp @@ -1,6 +1,5 @@ #include #include -#include #include #include diff --git a/test/snapshot/snapshot.cpp b/test/snapshot/snapshot.cpp index b0483ff95..ac1d6ee0b 100644 --- a/test/snapshot/snapshot.cpp +++ b/test/snapshot/snapshot.cpp @@ -3,7 +3,6 @@ #include #include #include -#include #include #include