remove reference "const int32_t&" -> const int32_t"
[ardour.git] / libs / ardour / ardour / automatable_sequence.h
index 88e1733c1b7c057add86bf592a2192638695db52..0d3871eb17879f13cb8d0f796cbc9edebfd6c7d3 100644 (file)
 
 #include "evoral/Sequence.hpp"
 #include "ardour/automatable.h"
+#include "ardour/event_type_map.h"
 
 namespace ARDOUR {
 
 /** Contains notes and controllers */
 template<typename T>
-class AutomatableSequence : public Automatable, public Evoral::Sequence<T> {
+class /*LIBARDOUR_API*/ AutomatableSequence : public Automatable, public Evoral::Sequence<T> {
 public:
-       AutomatableSequence(Session& s, size_t /*size*/)
+       AutomatableSequence(Session& s)
                : Evoral::ControlSet()
                , Automatable(s)
                , Evoral::Sequence<T>(EventTypeMap::instance())
        {}
+
+       AutomatableSequence(const AutomatableSequence<T>& other)
+               : Evoral::ControlSet(other)
+               , Automatable(other._a_session)
+               , Evoral::Sequence<T>(other)
+       {}
+
 };
 
 } // namespace ARDOUR