From 976d937b2fdf24c76b6b5575afc6cbe222a87b63 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Fri, 27 Nov 2020 17:57:34 +0100
Subject: Clean up Queue special member functions

---
 src/Queue.hpp | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/Queue.hpp b/src/Queue.hpp
index f1fef95..fbfc3b9 100644
--- a/src/Queue.hpp
+++ b/src/Queue.hpp
@@ -27,13 +27,20 @@ class Queue
 public:
 	/** @param size Size in number of elements */
 	explicit Queue(size_t size);
+
+	Queue(const Queue&) = delete;
+	Queue& operator=(const Queue&) = delete;
+
+	Queue(Queue&&) = delete;
+	Queue& operator=(Queue&&) = delete;
+
 	~Queue();
 
 	// Any thread:
 
 	inline size_t capacity() const { return _size - 1; }
 
-	// Write thread(s):
+	// Write thread:
 
 	inline bool full() const;
 	inline bool push(const T& obj);
-- 
cgit v1.2.1