Ensure ringbuffers are never copy-constructed
This commit is contained in:
parent
bc9b94dfab
commit
13e6fdb6b3
@ -125,6 +125,9 @@ protected:
|
||||
mutable gint write_idx;
|
||||
mutable gint read_idx;
|
||||
guint size_mask;
|
||||
|
||||
private:
|
||||
RingBuffer (RingBuffer const&);
|
||||
};
|
||||
|
||||
template<class T> /*LIBPBD_API*/ guint
|
||||
|
@ -120,6 +120,9 @@ class /*LIBPBD_API*/ RingBufferNPT
|
||||
size_t size;
|
||||
mutable gint write_ptr;
|
||||
mutable gint read_ptr;
|
||||
|
||||
private:
|
||||
RingBufferNPT (RingBufferNPT const&);
|
||||
};
|
||||
|
||||
template<class T> /*LIBPBD_API*/ size_t
|
||||
|
Loading…
Reference in New Issue
Block a user