mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Correct assertion that was causing clang (and any other debug build) to fail tests
This commit is contained in:
parent
22c2be835a
commit
30affb8855
@ -289,7 +289,7 @@ namespace chaiscript
|
||||
: Proxy_Function_Base(std::vector<Type_Info>()),
|
||||
m_f(t_f), m_args(t_args), m_arity(m_f->get_arity()<0?-1:(m_f->get_arity() - static_cast<int>(m_args.size())))
|
||||
{
|
||||
assert(m_f->get_arity() >= static_cast<int>(m_args.size()));
|
||||
assert(m_f->get_arity() < 0 || m_f->get_arity() >= static_cast<int>(m_args.size()));
|
||||
}
|
||||
|
||||
virtual bool operator==(const Proxy_Function_Base &) const
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user