lib/xiph/FlacMetadataIterator: reuse default constructor
This commit is contained in:
parent
d43218ed16
commit
1f4e4dd9b3
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue