From 6bb4b7c83e86442513b507905b0b62ad825c6914 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 27 Jul 2020 18:47:09 +0200 Subject: [PATCH] Fix equality comparison --- src/sfizz/modulations/ModKey.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/modulations/ModKey.cpp b/src/sfizz/modulations/ModKey.cpp index 57038748..69d8750f 100644 --- a/src/sfizz/modulations/ModKey.cpp +++ b/src/sfizz/modulations/ModKey.cpp @@ -113,7 +113,7 @@ std::string ModKey::toString() const 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(); }