Commit 868bf752 authored by Max Kellermann's avatar Max Kellermann

MusicPipe: disallow copying

parent 051cdc96
...@@ -59,6 +59,8 @@ public: ...@@ -59,6 +59,8 @@ public:
*/ */
MusicPipe() = default; MusicPipe() = default;
MusicPipe(const MusicPipe &) = delete;
/** /**
* Frees the object. It must be empty now. * Frees the object. It must be empty now.
*/ */
...@@ -67,6 +69,8 @@ public: ...@@ -67,6 +69,8 @@ public:
assert(tail_r == &head); assert(tail_r == &head);
} }
MusicPipe &operator=(const MusicPipe &) = delete;
#ifndef NDEBUG #ifndef NDEBUG
/** /**
* Checks if the audio format if the chunk is equal to the specified * Checks if the audio format if the chunk is equal to the specified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment