diff options
-rw-r--r-- | raul/DoubleBuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/raul/DoubleBuffer.h b/raul/DoubleBuffer.h index 75f70e5..8b0f340 100644 --- a/raul/DoubleBuffer.h +++ b/raul/DoubleBuffer.h @@ -18,6 +18,7 @@ #ifndef RAUL_DOUBLE_BUFFER_H #define RAUL_DOUBLE_BUFFER_H +#include <boost/utility.hpp> #include <raul/AtomicInt.h> #include <raul/AtomicPtr.h> @@ -33,7 +34,7 @@ namespace Raul { * Space: 2*sizeof(T) + sizeof(int) + sizeof(void*) */ template<typename T> -class DoubleBuffer { +class DoubleBuffer : public boost::noncopyable { public: inline DoubleBuffer(T val) |