summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/EventList.hpp
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-07-20 16:27:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-07-20 16:27:34 +0000
commitbf91ed99ec2b1231c7150bde7f12c8ca573f0834 (patch)
tree52423ce3c3606ca76017070e0c2776ead4acd026 /libs/evoral/evoral/EventList.hpp
parent3ef1a678b41725cce49dc0f0f816da445d6d9a76 (diff)
add note IDs and use them for looking up notes during a history rebuild. NOTE: INVALIDATES OLDER HISTORY FILES
git-svn-id: svn://localhost/ardour2/branches/3.0@7449 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/evoral/evoral/EventList.hpp')
-rw-r--r--libs/evoral/evoral/EventList.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/evoral/evoral/EventList.hpp b/libs/evoral/evoral/EventList.hpp
index a024e73d9b..a227629549 100644
--- a/libs/evoral/evoral/EventList.hpp
+++ b/libs/evoral/evoral/EventList.hpp
@@ -35,9 +35,9 @@ class EventList : public std::list<Evoral::Event<Time> *>, public Evoral::EventS
public:
EventList() {}
- uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) {
+ uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) {
push_back(new Evoral::Event<Time>(
- type, time, size, const_cast<uint8_t*>(buf), true)); // Event copies buffer
+ type, time, size, const_cast<uint8_t*>(buf), true)); // Event copies buffer
return size;
}
};