lib/xiph/FlacMetadataIterator: disallow copying

This commit is contained in:
Max Kellermann 2018-07-07 14:08:05 +02:00
parent 1f4e4dd9b3
commit 032f47c0b0
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,9 @@ public:
::FLAC__metadata_iterator_delete(iterator);
}
FlacMetadataIterator(const FlacMetadataIterator &) = delete;
FlacMetadataIterator &operator=(const FlacMetadataIterator &) = delete;
bool Next() noexcept {
return ::FLAC__metadata_iterator_next(iterator);
}