Fix operator==
This commit is contained in:
parent
576452a8ac
commit
e1ccbeedc4
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ namespace wren {
|
||||||
{}
|
{}
|
||||||
|
|
||||||
constexpr bool ModuleAndName::operator==(const ModuleAndName& other) const noexcept {
|
constexpr bool ModuleAndName::operator==(const ModuleAndName& other) const noexcept {
|
||||||
const bool retval = (this->m_hash == other.m_hash);
|
const bool retval = (this->m_hash == other.m_hash and deep_equal(other));
|
||||||
assert(not retval or deep_equal(other));
|
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue