Fix equality comparison

This commit is contained in:
Jean Pierre Cimalando 2020-07-27 18:47:09 +02:00
parent efd616ffdf
commit 6bb4b7c83e

View file

@ -113,7 +113,7 @@ std::string ModKey::toString() const
bool sfz::ModKey::operator==(const ModKey &other) const noexcept bool sfz::ModKey::operator==(const ModKey &other) const noexcept
{ {
return id_ == other.id_ && region_ && other.region_ && return id_ == other.id_ && region_ == other.region_ &&
parameters() == other.parameters(); parameters() == other.parameters();
} }