lib/xiph/FlacMetadataIterator: reuse default constructor

This commit is contained in:
Max Kellermann 2018-07-07 14:08:18 +02:00
parent d43218ed16
commit 1f4e4dd9b3
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public:
FlacMetadataIterator():iterator(::FLAC__metadata_iterator_new()) {}
FlacMetadataIterator(FLAC__Metadata_Chain *chain)
:iterator(::FLAC__metadata_iterator_new()) {
:FlacMetadataIterator() {
::FLAC__metadata_iterator_init(iterator, chain);
}