Fix deadlock and potential race condition when editing MIDI.
[ardour.git] / libs / evoral / evoral / EventSink.hpp
index c3a28df754550e01074b1d55aa094b26a6fa9f9e..2fd2e7591abe425c50bb790a27100af720d06be7 100644 (file)
@@ -26,11 +26,11 @@ namespace Evoral {
 
 /** Pure virtual base for anything you can write events to.
  */
-template<typename T>
+template<typename Time>
 class EventSink {
 public:
        virtual ~EventSink() {}
-       virtual uint32_t write(T time, EventType type, uint32_t size, const uint8_t* buf) = 0;
+       virtual uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) = 0;
 };