Fix adding multiple notes with the same time stamp (geeze).
git-svn-id: svn://localhost/ardour2/branches/3.0@5872 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b61e7ad5de
commit
7b46e9c57c
@ -21,8 +21,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <queue>
|
||||
#include <deque>
|
||||
#include <map>
|
||||
#include <set>
|
||||
#include <utility>
|
||||
#include <boost/shared_ptr.hpp>
|
||||
#include <glibmm/thread.h>
|
||||
@ -133,7 +132,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
typedef std::set<boost::shared_ptr< Note<Time> >, EarlierNoteComparator> Notes;
|
||||
typedef std::multiset<boost::shared_ptr< Note<Time> >, EarlierNoteComparator> Notes;
|
||||
inline Notes& notes() { return _notes; }
|
||||
inline const Notes& notes() const { return _notes; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user