From 6ede10fa4776fb8267bf7f1dd0e075ad55829bf2 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 4 Apr 2024 10:50:56 +0200 Subject: [PATCH] test: suppress a warning by clang --- test/entt/entity/snapshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/entt/entity/snapshot.cpp b/test/entt/entity/snapshot.cpp index fc9626e03..835b7f0b3 100644 --- a/test/entt/entity/snapshot.cpp +++ b/test/entt/entity/snapshot.cpp @@ -141,7 +141,7 @@ TEST(BasicSnapshot, GetPointerStableType) { constexpr auto number_of_entities = 3u; std::array entity{}; - const std::array value{1, 2, 3}; + const std::array value{test::pointer_stable{1}, test::pointer_stable{2}, test::pointer_stable{3}}; registry.create(entity.begin(), entity.end()); registry.insert(entity.begin(), entity.end(), value.begin());