diff --git a/src/entt/poly/poly.hpp b/src/entt/poly/poly.hpp index 832b9a985..52242d7ef 100644 --- a/src/entt/poly/poly.hpp +++ b/src/entt/poly/poly.hpp @@ -87,10 +87,10 @@ class poly_vtable { }; } - template - [[nodiscard]] static auto fill_vtable(value_list, std::index_sequence) { + template + [[nodiscard]] static auto fill_vtable(std::index_sequence) { type impl{}; - (fill_vtable_entry(std::get(impl)), ...); + (fill_vtable_entry>>(std::get(impl)), ...); return impl; } @@ -105,7 +105,7 @@ public: */ template [[nodiscard]] static const auto * instance() { - static const auto vtable = fill_vtable(typename Concept::template impl{}, std::make_index_sequence>{}); + static const auto vtable = fill_vtable(std::make_index_sequence::size>{}); return &vtable; } };