Fix operator==

This commit is contained in:
King_DuckZ 2022-06-06 16:04:25 +02:00
parent 576452a8ac
commit e1ccbeedc4
1 changed files with 1 additions and 2 deletions

View File

@ -117,8 +117,7 @@ namespace wren {
{}
constexpr bool ModuleAndName::operator==(const ModuleAndName& other) const noexcept {
const bool retval = (this->m_hash == other.m_hash);
assert(not retval or deep_equal(other));
const bool retval = (this->m_hash == other.m_hash and deep_equal(other));
return retval;
}