diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp index 2fbcba9a8..af14e428a 100644 --- a/src/entt/entity/registry.hpp +++ b/src/entt/entity/registry.hpp @@ -704,7 +704,7 @@ public: template std::enable_if_t<(sizeof...(Component) > 1), std::tuple> get(entity_type entity) const ENTT_NOEXCEPT { - return { get(entity)... }; + return std::tuple{get(entity)...}; } /** @@ -724,7 +724,7 @@ public: template std::enable_if_t<(sizeof...(Component) > 1), std::tuple> get(entity_type entity) ENTT_NOEXCEPT { - return { get(entity)... }; + return std::tuple{get(entity)...}; } /**