poly: make vs2017 happy again

This commit is contained in:
Michele Caini
2021-03-24 13:53:02 +01:00
parent 0e2afe4f98
commit 8913c7ea18

View File

@@ -69,7 +69,7 @@ class poly_vtable {
template<auto... Candidate>
static auto make_vtable(value_list<Candidate...>)
-> std::tuple<decltype(vtable_entry(Candidate))...>;
-> decltype(std::make_tuple(vtable_entry(Candidate)...));
template<typename... Func>
[[nodiscard]] static constexpr auto make_vtable(type_list<Func...>) {