MusicPipe: disallow copying
This commit is contained in:
@@ -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:
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user