diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-14 19:45:30 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-14 19:45:30 +0000 |
commit | 9a3734a6bd0450faf92a8b1add2d5e052a4534ca (patch) | |
tree | c7feafe8169e8782e4133dd38b8cd1e140c639bc /libs/ardour/plugin_insert.cc | |
parent | b35f3088942ff623e9d09fe6acb1f214dddf73ce (diff) |
Make DnD copy processors using their XML representations. Remove unused
copy constructors from the Processor hierarchy, and declare them private
to explicitly disallow copy construction.
git-svn-id: svn://localhost/ardour2/branches/3.0@4556 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 431c91762e..2256afb782 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -96,23 +96,6 @@ PluginInsert::PluginInsert (Session& s, const XMLNode& node) } } -PluginInsert::PluginInsert (const PluginInsert& other) - : Processor (other._session, other._name, other.placement()), - _signal_analysis_collected_nframes(0), - _signal_analysis_collect_nframes_max(0) -{ - uint32_t count = other._plugins.size(); - - /* make as many copies as requested */ - for (uint32_t n = 0; n < count; ++n) { - _plugins.push_back (plugin_factory (other.plugin (n))); - } - - init (); - - ProcessorCreated (this); /* EMIT SIGNAL */ -} - bool PluginInsert::set_count (uint32_t num) { |