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/engine/List.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/engine/List.h')
-rw-r--r-- | src/libs/engine/List.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libs/engine/List.h b/src/libs/engine/List.h index 2ed83d6f..7997a6c5 100644 --- a/src/libs/engine/List.h +++ b/src/libs/engine/List.h @@ -43,10 +43,6 @@ public: const T& elem() const { return m_elem; } private: - // Prevent copies (undefined) - ListNode(const ListNode& copy); - ListNode& operator=(const ListNode& copy); - T m_elem; ListNode* m_next; ListNode* m_prev; @@ -132,10 +128,6 @@ public: //const_iterator end() const; private: - // Prevent copies (undefined) - List(const List& copy); - List& operator=(const List& copy); - ListNode<T>* m_head; ListNode<T>* m_tail; size_t m_size; |