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/engine/List.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/libs/engine/List.h') 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* m_head; ListNode* m_tail; size_t m_size; -- cgit v1.2.1