diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-14 16:01:32 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-14 16:01:32 +0000 |
commit | bf0a99f0c0a8f76725fba89d076010009c4cdcb0 (patch) | |
tree | 128afdd123424872c922260a8f180912ff996431 /libs/evoral/evoral/Note.hpp | |
parent | 3023d53d7d3f6dd726bcd07b0ebec8d7cfc2948d (diff) |
fix up marshall/unmarshall of note data for MidiModel::DiffCommand
git-svn-id: svn://localhost/ardour2/branches/3.0@5662 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/Note.hpp')
-rw-r--r-- | libs/evoral/evoral/Note.hpp | 10 |
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(); } |