From be3597524f07ee502be8784ed193812ce4fb9cb9 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sun, 8 Sep 2019 22:53:48 +0200 Subject: [PATCH] added a static_assert in a test to suppress a warning from GCC --- test/entt/entity/registry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/entt/entity/registry.cpp b/test/entt/entity/registry.cpp index fdf570a5e..1778ad48d 100644 --- a/test/entt/entity/registry.cpp +++ b/test/entt/entity/registry.cpp @@ -1133,6 +1133,7 @@ TEST(Registry, CreateManyEntitiesWithComponentsAtOnce) { registry.destroy(registry.create()); const auto [iptr, cptr, eptr] = registry.create(std::begin(entities), std::end(entities)); + static_assert(std::is_same_v); ASSERT_FALSE(registry.empty()); ASSERT_FALSE(registry.empty());