diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-25 15:01:38 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-25 15:01:38 +0000 |
commit | 39e6afb58230610e4b2df60668ff226ebd9374b1 (patch) | |
tree | fb2888941655535a2d9990c2dd08dd4bc62dfc4e /libs/ardour/plugin.cc | |
parent | 97ade208b0a9c0d639a7a4dffa219b8b606de4da (diff) |
make copy-n-paste of AudioUnits work
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3181 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/plugin.cc')
-rw-r--r-- | libs/ardour/plugin.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index d8616eabde..1160a0015b 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -77,9 +77,7 @@ Plugin::setup_controls () we'll fill this in on an as-needed basis. */ - for (uint32_t i = 0; i < port_cnt; ++i) { - controls.push_back (0); - } + controls.assign (port_cnt, (PortControllable*) 0); } Plugin::~Plugin () |