remove use of a boost::fast_pool_allocator without a mutex for Evoral::ControlList...
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 17 Dec 2012 18:41:58 +0000 (18:41 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 17 Dec 2012 18:41:58 +0000 (18:41 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13672 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/evoral/evoral/ControlList.hpp

index 845a3b85d5ba7eaf016487ae3f192d7448a6ccbd..f43cf0af01376278dbda222dba38e39fb10e4f8e 100644 (file)
@@ -65,24 +65,12 @@ public:
        double* coeff; ///< double[4] allocated by Curve as needed
 };
 
-
-/** Pool allocator for control lists that does not use a lock
- * and allocates 8k blocks of new pointers at a time
- */
-typedef boost::fast_pool_allocator<
-       ControlEvent*,
-       boost::default_user_allocator_new_delete,
-       boost::details::pool::null_mutex,
-       8192>
-ControlEventAllocator;
-
-
 /** A list (sequence) of time-stamped values for a control
  */
 class ControlList
 {
 public:
-       typedef std::list<ControlEvent*,ControlEventAllocator> EventList;
+       typedef std::list<ControlEvent*> EventList;
        typedef EventList::iterator iterator;
        typedef EventList::reverse_iterator reverse_iterator;
        typedef EventList::const_iterator const_iterator;