diff options
author | David Robillard <d@drobilla.net> | 2014-11-13 22:34:20 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-13 22:34:20 -0500 |
commit | 8907477271b8a6b356127e2367753f0d6dbd5308 (patch) | |
tree | 8e7c0728f48ab4c2bb57b81efcd3492fc89a142a /libs/evoral/evoral | |
parent | a1e4befcca63ec660316d4c80cda090ccae75f48 (diff) |
Fix crashes on various MIDI editing operations.
Assertions assumed old strict ordering, no longer reflecting reality of fuzzy
time comparison (introduced in 86f1b8).
Diffstat (limited to 'libs/evoral/evoral')
-rw-r--r-- | libs/evoral/evoral/Sequence.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/evoral/evoral/Sequence.hpp b/libs/evoral/evoral/Sequence.hpp index 280fc600de..484afa8459 100644 --- a/libs/evoral/evoral/Sequence.hpp +++ b/libs/evoral/evoral/Sequence.hpp @@ -136,7 +136,6 @@ public: inline bool operator()(const boost::shared_ptr< const Note<Time> > a, const boost::shared_ptr< const Note<Time> > b) const { return musical_time_greater_than (a->time(), b->time()); - return a->time() > b->time(); } }; |