lib/xiph/FlacMetadataIterator: add noexcept
This commit is contained in:
parent
a8f314190f
commit
e34672c9d8
@ -28,14 +28,15 @@ class FlacMetadataIterator {
|
||||
FLAC__Metadata_Iterator *iterator;
|
||||
|
||||
public:
|
||||
FlacMetadataIterator():iterator(::FLAC__metadata_iterator_new()) {}
|
||||
FlacMetadataIterator() noexcept
|
||||
:iterator(::FLAC__metadata_iterator_new()) {}
|
||||
|
||||
FlacMetadataIterator(FLAC__Metadata_Chain *chain)
|
||||
explicit FlacMetadataIterator(FLAC__Metadata_Chain *chain) noexcept
|
||||
:FlacMetadataIterator() {
|
||||
::FLAC__metadata_iterator_init(iterator, chain);
|
||||
}
|
||||
|
||||
~FlacMetadataIterator() {
|
||||
~FlacMetadataIterator() noexcept {
|
||||
::FLAC__metadata_iterator_delete(iterator);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user