summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-05-14 23:31:15 +0000
committerDavid Robillard <d@drobilla.net>2008-05-14 23:31:15 +0000
commit5ae0c93b92008a9f2145bb809d8086ee4f9ee24b (patch)
tree5ad6edeecc03cb9515e563c018ac5a69ad87e9a3
parentf4e4b0c1a4eaa41548e4eb2bdfedc8cfa45c3f16 (diff)
downloadraul-5ae0c93b92008a9f2145bb809d8086ee4f9ee24b.tar.gz
raul-5ae0c93b92008a9f2145bb809d8086ee4f9ee24b.tar.bz2
raul-5ae0c93b92008a9f2145bb809d8086ee4f9ee24b.zip
Fix clear patch command (ticket #18).
Potential destruction race/leak fixes. More thorough thread assertions on graph object methods. git-svn-id: http://svn.drobilla.net/lad/raul@1207 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--raul/List.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/raul/List.hpp b/raul/List.hpp
index 1a8b426..5e56072 100644
--- a/raul/List.hpp
+++ b/raul/List.hpp
@@ -20,6 +20,7 @@
#include <cstddef>
#include <cassert>
+#include <boost/utility.hpp>
#include <raul/Deletable.hpp>
#include <raul/AtomicPtr.hpp>
#include <raul/AtomicInt.hpp>
@@ -34,7 +35,7 @@ namespace Raul {
* only. See documentation for specific functions for specifics.
*/
template <typename T>
-class List : public Raul::Deletable
+class List : public Raul::Deletable, public boost::noncopyable
{
public: