remove reference "const int32_t&" -> const int32_t"
[ardour.git] / libs / ardour / ardour / automatable_sequence.h
index 9259234f81f2f75ca7b18153bd8a5dcab542d113..0d3871eb17879f13cb8d0f796cbc9edebfd6c7d3 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2009 Paul Davis 
+    Copyright (C) 2009 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #ifndef __ardour_automatable_sequence_h__
 #define __ardour_automatable_sequence_h__
 
-#include <evoral/Sequence.hpp>
-#include <ardour/automatable.h>
+#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