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/ardour/port_insert.h | |
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/ardour/port_insert.h')
-rw-r--r-- | libs/ardour/ardour/port_insert.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port_insert.h b/libs/ardour/ardour/port_insert.h index 55f91569d5..78ff09124b 100644 --- a/libs/ardour/ardour/port_insert.h +++ b/libs/ardour/ardour/port_insert.h @@ -42,7 +42,6 @@ class PortInsert : public IOProcessor public: PortInsert (Session&, Placement); PortInsert (Session&, const XMLNode&); - PortInsert (const PortInsert&); ~PortInsert (); XMLNode& state(bool full); @@ -64,6 +63,9 @@ class PortInsert : public IOProcessor uint32_t bit_slot() const { return bitslot; } private: + /* disallow copy construction */ + PortInsert (const PortInsert&); + uint32_t bitslot; }; |