MusicChunk: disallow copying
This commit is contained in:
parent
ad2c7304ea
commit
4de5c216ff
@ -95,8 +95,12 @@ struct MusicChunk {
|
|||||||
|
|
||||||
MusicChunk() = default;
|
MusicChunk() = default;
|
||||||
|
|
||||||
|
MusicChunk(const MusicChunk &) = delete;
|
||||||
|
|
||||||
~MusicChunk();
|
~MusicChunk();
|
||||||
|
|
||||||
|
MusicChunk &operator=(const MusicChunk &) = delete;
|
||||||
|
|
||||||
bool IsEmpty() const {
|
bool IsEmpty() const {
|
||||||
return length == 0 && tag == nullptr;
|
return length == 0 && tag == nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user