summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/JackMidiDriver.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-10-16 07:28:30 +0000
committerDavid Robillard <d@drobilla.net>2006-10-16 07:28:30 +0000
commitd38458e73cf7dfe02d2ea0ceb050f64df43413b8 (patch)
tree298face3d076487f61a388a85001cc01a26a7d43 /src/libs/engine/JackMidiDriver.h
parentd5049d43809c7546afcc2938791a90c7973d0fc2 (diff)
downloadingen-d38458e73cf7dfe02d2ea0ceb050f64df43413b8.tar.gz
ingen-d38458e73cf7dfe02d2ea0ceb050f64df43413b8.tar.bz2
ingen-d38458e73cf7dfe02d2ea0ceb050f64df43413b8.zip
Used boost::noncopyable to eliminate undefined private copy constructors spread everywhere.
git-svn-id: http://svn.drobilla.net/lad/ingen@182 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/JackMidiDriver.h')
-rw-r--r--src/libs/engine/JackMidiDriver.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libs/engine/JackMidiDriver.h b/src/libs/engine/JackMidiDriver.h
index 7ff2ad5b..3c5fe558 100644
--- a/src/libs/engine/JackMidiDriver.h
+++ b/src/libs/engine/JackMidiDriver.h
@@ -46,15 +46,11 @@ public:
void add_to_driver();
void remove_from_driver();
- void set_name(const string& name) { jack_port_set_name(m_jack_port, name.c_str()); };
+ void set_name(const std::string& name) { jack_port_set_name(m_jack_port, name.c_str()); };
DuplexPort<MidiMessage>* patch_port() const { return m_patch_port; }
private:
- // Prevent copies (undefined)
- JackMidiPort(const JackMidiPort&);
- JackMidiPort& operator=(const JackMidiPort&);
-
JackMidiDriver* m_driver;
jack_port_t* m_jack_port;
DuplexPort<MidiMessage>* m_patch_port;
@@ -90,10 +86,6 @@ public:
jack_client_t* jack_client() { return m_client; }
private:
- // Prevent copies (undefined)
- JackMidiDriver(const JackMidiDriver&);
- JackMidiDriver& operator=(const JackMidiDriver&);
-
List<JackMidiPort*> m_in_ports;
List<JackMidiPort*> m_out_ports;