Commit 4de5c216 authored by Max Kellermann's avatar Max Kellermann

MusicChunk: disallow copying

parent ad2c7304
......@@ -95,8 +95,12 @@ struct MusicChunk {
MusicChunk() = default;
MusicChunk(const MusicChunk &) = delete;
~MusicChunk();
MusicChunk &operator=(const MusicChunk &) = delete;
bool IsEmpty() const {
return length == 0 && tag == nullptr;
}
......
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