From d38458e73cf7dfe02d2ea0ceb050f64df43413b8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Oct 2006 07:28:30 +0000 Subject: 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 --- src/libs/client/PortModel.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/libs/client/PortModel.h') 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 c) { throw; } void remove_child(SharedPtr c) { throw; } - // Prevent copies (undefined) - PortModel(const PortModel& copy); - PortModel& operator=(const PortModel& copy); - void connected_to(SharedPtr p) { ++m_connections; connection_sig.emit(p); } void disconnected_from(SharedPtr p) { --m_connections; disconnection_sig.emit(p); } - Type m_type; Direction m_direction; Hint m_hint; -- cgit v1.2.1