summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/MusicPipe.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/MusicPipe.hxx b/src/MusicPipe.hxx
index 07f69f3ad..0ee340aa0 100644
--- a/src/MusicPipe.hxx
+++ b/src/MusicPipe.hxx
@@ -59,6 +59,8 @@ public:
*/
MusicPipe() = default;
+ MusicPipe(const MusicPipe &) = delete;
+
/**
* Frees the object. It must be empty now.
*/
@@ -67,6 +69,8 @@ public:
assert(tail_r == &head);
}
+ MusicPipe &operator=(const MusicPipe &) = delete;
+
#ifndef NDEBUG
/**
* Checks if the audio format if the chunk is equal to the specified