From b7dd26121a71193faf04d63a4e903435d0e65daf Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 6 Apr 2022 09:55:31 +0200 Subject: [PATCH] type_info: cleanup --- src/entt/core/type_info.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/core/type_info.hpp b/src/entt/core/type_info.hpp index 17160a7d6..153d437de 100644 --- a/src/entt/core/type_info.hpp +++ b/src/entt/core/type_info.hpp @@ -273,7 +273,7 @@ private: template [[nodiscard]] const type_info &type_id() ENTT_NOEXCEPT { if constexpr(std::is_same_v>>) { - static type_info instance{std::in_place_type>>}; + static type_info instance{std::in_place_type}; return instance; } else { return type_id>>();