mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Fix debug builds
This commit is contained in:
parent
a2577b983c
commit
a147278a7e
@ -749,8 +749,8 @@ namespace chaiscript
|
||||
bool types_match_except_for_arithmetic(const FuncType &t_func, const std::vector<Boxed_Value> &plist,
|
||||
const Type_Conversions &t_conversions)
|
||||
{
|
||||
assert(plist.size() == types.size() - 1);
|
||||
const std::vector<Type_Info> &types = t_func->get_param_types();
|
||||
assert(plist.size() == types.size() - 1);
|
||||
|
||||
return std::mismatch(plist.begin(), plist.end(),
|
||||
types.begin()+1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user