device driver: Fix compile warnings

This commit is contained in:
Lorenz Meier
2014-07-16 08:47:31 +02:00
parent b08e3d21cd
commit 8107205b9e
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -162,6 +162,10 @@ private:
volatile unsigned _tail; /**< removal point in _item_size units */
unsigned _next(unsigned index);
/* we don't want this class to be copied */
RingBuffer(const RingBuffer&);
RingBuffer operator=(const RingBuffer&);
};
RingBuffer::RingBuffer(unsigned num_items, size_t item_size) :