mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 09:16:53 +08:00
Fix function_member call from last commit
This commit is contained in:
parent
a363ef5e0e
commit
6f01568a9a
@ -911,13 +911,12 @@ namespace chaiscript
|
||||
return false;
|
||||
}
|
||||
|
||||
for (const auto &fun : t_funs) {
|
||||
if (fun->is_attribute_function()
|
||||
&& fun->compare_first_type(t_params[0], t_conversions)) {
|
||||
}
|
||||
}
|
||||
return std::any_of(std::cbegin(t_funs), std::cend(t_funs),
|
||||
[&](const auto &fun) {
|
||||
return fun->is_attribute_function() && fun->compare_first_type(t_params[0], t_conversions);
|
||||
}
|
||||
);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
#ifdef CHAISCRIPT_MSVC
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user