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/io_processor.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/io_processor.h')
-rw-r--r-- | libs/ardour/ardour/io_processor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/ardour/io_processor.h b/libs/ardour/ardour/io_processor.h index af11e8cacf..985a2c387c 100644 --- a/libs/ardour/ardour/io_processor.h +++ b/libs/ardour/ardour/io_processor.h @@ -48,7 +48,6 @@ class IOProcessor : public Processor IOProcessor (Session&, const string& name, Placement, int input_min = -1, int input_max = -1, int output_min = -1, int output_max = -1, ARDOUR::DataType default_type = DataType::AUDIO); - IOProcessor (const IOProcessor&); virtual ~IOProcessor (); virtual ChanCount output_streams() const; @@ -74,6 +73,11 @@ class IOProcessor : public Processor protected: boost::shared_ptr<IO> _io; + + private: + /* disallow copy construction */ + IOProcessor (const IOProcessor&); + }; } // namespace ARDOUR |