summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/Note.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/evoral/evoral/Note.hpp')
-rw-r--r--libs/evoral/evoral/Note.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/evoral/evoral/Note.hpp b/libs/evoral/evoral/Note.hpp
index e92094ae78..b636df46e2 100644
--- a/libs/evoral/evoral/Note.hpp
+++ b/libs/evoral/evoral/Note.hpp
@@ -38,11 +38,11 @@ public:
const Note<Time>& operator=(const Note<Time>& copy);
inline bool operator==(const Note<Time>& other) {
- return time() == other.time() &&
- note() == other.note() &&
- length() == other.length() &&
- velocity() == other.velocity() &&
- channel() == other.channel();
+ return musical_time_equal (time(), other.time()) &&
+ note() == other.note() &&
+ musical_time_equal (length(), other.length()) &&
+ velocity() == other.velocity() &&
+ channel() == other.channel();
}
inline Time time() const { return _on_event.time(); }