From 8913c7ea184eec44343b0e04b1dfba9ddc2888fd Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 24 Mar 2021 13:53:02 +0100 Subject: [PATCH] poly: make vs2017 happy again --- src/entt/poly/poly.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {