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