diff --git a/src/entt/poly/poly.hpp b/src/entt/poly/poly.hpp index 7dd570de2..241279468 100644 --- a/src/entt/poly/poly.hpp +++ b/src/entt/poly/poly.hpp @@ -69,7 +69,7 @@ class poly_vtable { template static auto make_vtable(value_list) - -> std::tuple; + -> decltype(std::make_tuple(vtable_entry(Candidate)...)); template [[nodiscard]] static constexpr auto make_vtable(type_list) {