MusicPipe: disallow copying
This commit is contained in:
parent
051cdc9670
commit
868bf752f3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user