X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Fardour%2Fautomatable_sequence.h;h=730ea33a7cf5f600e22e548ecf6180faac48968f;hb=63b02a265a6d5e821198b5e3fcc1f6ba6d83a129;hp=a1d34ae92dfc3cf5bb6fa84bd85057ad5c4036bb;hpb=e0aaed6d65f160c328cb8b56d7c6552ee15d65e2;p=ardour.git diff --git a/libs/ardour/ardour/automatable_sequence.h b/libs/ardour/ardour/automatable_sequence.h index a1d34ae92d..730ea33a7c 100644 --- a/libs/ardour/ardour/automatable_sequence.h +++ b/libs/ardour/ardour/automatable_sequence.h @@ -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 @@ -29,11 +29,18 @@ namespace ARDOUR { template class AutomatableSequence : public Automatable, public Evoral::Sequence { public: - AutomatableSequence(Session& s, size_t size) + AutomatableSequence(Session& s) : Evoral::ControlSet() , Automatable(s) , Evoral::Sequence(EventTypeMap::instance()) {} + + AutomatableSequence(const AutomatableSequence& other) + : Evoral::ControlSet(other) + , Automatable(other._a_session) + , Evoral::Sequence(other) + {} + }; } // namespace ARDOUR