summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Connection.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/Connection.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/Connection.h')
-rw-r--r--src/libs/engine/Connection.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libs/engine/Connection.h b/src/libs/engine/Connection.h
index e2422a33..68ab5a3d 100644
--- a/src/libs/engine/Connection.h
+++ b/src/libs/engine/Connection.h
@@ -18,6 +18,7 @@
#define CONNECTION_H
#include <cstdlib>
+#include <boost/utility.hpp>
#include "MaidObject.h"
#include "types.h"
@@ -49,9 +50,6 @@ public:
void pending_disconnection(bool b) { m_pending_disconnection = b; }
protected:
- // Disallow copies (undefined)
- Connection(const Connection&);
-
Connection(Port* const src_port, Port* const dst_port);
Port* const m_src_port;