Fix function_member call from last commit
This commit is contained in:
@@ -911,13 +911,12 @@ namespace chaiscript
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const auto &fun : t_funs) {
|
return std::any_of(std::cbegin(t_funs), std::cend(t_funs),
|
||||||
if (fun->is_attribute_function()
|
[&](const auto &fun) {
|
||||||
&& fun->compare_first_type(t_params[0], t_conversions)) {
|
return fun->is_attribute_function() && fun->compare_first_type(t_params[0], t_conversions);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
);
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CHAISCRIPT_MSVC
|
#ifdef CHAISCRIPT_MSVC
|
||||||
|
Reference in New Issue
Block a user