|
|
@@ -181,8 +181,9 @@ meta_any invoke([[maybe_unused]] meta_handle handle, meta_any *args, std::index_
|
|
|
using helper_type = meta_function_helper_t<decltype(Candidate)>;
|
|
|
meta_any any{};
|
|
|
|
|
|
- [[maybe_unused]] const auto direct = std::make_tuple([any = args+Indexes](const auto index) {
|
|
|
+ [[maybe_unused]] const auto direct = std::make_tuple([args](const auto index) {
|
|
|
using arg_type = std::tuple_element_t<index.value, typename helper_type::args_type>;
|
|
|
+ auto *any = args + index.value;
|
|
|
auto *instance = any->template try_cast<arg_type>();
|
|
|
|
|
|
if(!instance && any->template convert<arg_type>()) {
|