diff options
author | David Robillard <d@drobilla.net> | 2006-10-16 07:28:30 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-10-16 07:28:30 +0000 |
commit | d38458e73cf7dfe02d2ea0ceb050f64df43413b8 (patch) | |
tree | 298face3d076487f61a388a85001cc01a26a7d43 /src/libs/client/PortModel.h | |
parent | d5049d43809c7546afcc2938791a90c7973d0fc2 (diff) | |
download | ingen-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/client/PortModel.h')
-rw-r--r-- | src/libs/client/PortModel.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libs/client/PortModel.h b/src/libs/client/PortModel.h index b9254b84..e5ce23fc 100644 --- a/src/libs/client/PortModel.h +++ b/src/libs/client/PortModel.h @@ -89,14 +89,9 @@ private: void add_child(SharedPtr<ObjectModel> c) { throw; } void remove_child(SharedPtr<ObjectModel> c) { throw; } - // Prevent copies (undefined) - PortModel(const PortModel& copy); - PortModel& operator=(const PortModel& copy); - void connected_to(SharedPtr<PortModel> p) { ++m_connections; connection_sig.emit(p); } void disconnected_from(SharedPtr<PortModel> p) { --m_connections; disconnection_sig.emit(p); } - Type m_type; Direction m_direction; Hint m_hint; |