partially revert 30b087ab3, CoreAudio SDK uses "Frames"
[ardour.git] / libs / evoral / src / Note.cpp
index 52a4d6335b39a2be0d9f90e675e4071f12a21979..631a995ab364c58feaf459c21408d3bbabb06ee0 100644 (file)
@@ -57,8 +57,6 @@ Note<Time>::Note(const Note<Time>& copy)
        : _on_event(copy._on_event, true)
        , _off_event(copy._off_event, true)
 {
-       set_id (copy.id());
-
        assert(_on_event.buffer());
        assert(_off_event.buffer());
        /*
@@ -92,24 +90,6 @@ Note<Time>::set_id (event_id_t id)
        _off_event.set_id (id);
 }
 
-template<typename Time>
-const Note<Time>&
-Note<Time>::operator=(const Note<Time>& other)
-{
-       _on_event = other._on_event;
-       _off_event = other._off_event;
-
-       assert(time() == other.time());
-       assert(end_time() == other.end_time());
-       assert(length() == other.length());
-       assert(note() == other.note());
-       assert(velocity() == other.velocity());
-       assert(_on_event.channel() == _off_event.channel());
-       assert(channel() == other.channel());
-
-       return *this;
-}
-
 template class Note<Evoral::Beats>;
 
 } // namespace Evoral