diff options
author | Max Kellermann <max@musicpd.org> | 2018-07-07 14:08:18 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-07-07 14:08:18 +0200 |
commit | 1f4e4dd9b3e2e7320ce4cf560553afc220a4737b (patch) | |
tree | 46bd5434f29ed4a9ba757d1898d94900c9f6c781 /src/lib/xiph | |
parent | d43218ed16fb0b953b662fe12a06ec994604ae25 (diff) |
lib/xiph/FlacMetadataIterator: reuse default constructor
Diffstat (limited to 'src/lib/xiph')
-rw-r--r-- | src/lib/xiph/FlacMetadataIterator.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/xiph/FlacMetadataIterator.hxx b/src/lib/xiph/FlacMetadataIterator.hxx index bfdf1833b..8500bd00e 100644 --- a/src/lib/xiph/FlacMetadataIterator.hxx +++ b/src/lib/xiph/FlacMetadataIterator.hxx @@ -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); } |