From 3f24977735b06f9b39a82d66c216ba27e3a302d5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 17 Feb 2009 03:49:32 +0000 Subject: Make a bunch of stuff boost::noncopyable. Clean up. git-svn-id: svn://localhost/ardour2/branches/3.0@4613 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/processor.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libs/ardour/ardour/processor.h') diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index 430e281bfc..5cfa51eb2a 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -49,7 +49,7 @@ class Processor : public SessionObject, public AutomatableControls, public Laten public: static const string state_node_name; - Processor(Session&, const string& name, Placement p); // TODO: remove placement in favour of sort key + Processor(Session&, const string& name, Placement p); // TODO: remove placement (use sort key) virtual ~Processor() { } @@ -70,13 +70,17 @@ class Processor : public SessionObject, public AutomatableControls, public Laten virtual void set_block_size (nframes_t nframes) {} - virtual void run_in_place (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame, nframes_t nframes, nframes_t offset) { assert(is_in_place()); } + virtual void run_in_place (BufferSet& bufs, + nframes_t start_frame, nframes_t end_frame, + nframes_t nframes, nframes_t offset) { assert(is_in_place()); } - virtual void run_out_of_place (BufferSet& input, BufferSet& output, nframes_t start_frame, nframes_t end_frame, nframes_t nframes, nframes_t offset) { assert(is_out_of_place()); } + virtual void run_out_of_place (BufferSet& input, BufferSet& output, + nframes_t start_frame, nframes_t end_frame, + nframes_t nframes, nframes_t offset) { assert(is_out_of_place()); } virtual void silence (nframes_t nframes, nframes_t offset) {} - void activate () { _active = true; ActiveChanged(); } + void activate () { _active = true; ActiveChanged(); } void deactivate () { _active = false; ActiveChanged(); } virtual bool configure_io (ChanCount in, ChanCount out); @@ -115,10 +119,6 @@ protected: Placement _placement; uint32_t _sort_key; void* _gui; /* generic, we don't know or care what this is */ - -private: - /* disallow copy construction */ - Processor (Processor const &); }; } // namespace ARDOUR -- cgit v1.2.3