diff options
Diffstat (limited to 'src/tag/Id3Scan.cxx')
-rw-r--r-- | src/tag/Id3Scan.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tag/Id3Scan.cxx b/src/tag/Id3Scan.cxx index 95479dd25..3c8054d1d 100644 --- a/src/tag/Id3Scan.cxx +++ b/src/tag/Id3Scan.cxx @@ -23,6 +23,7 @@ #include "Handler.hxx" #include "Table.hxx" #include "Builder.hxx" +#include "Tag.hxx" #include "Id3MusicBrainz.hxx" #include "util/Alloc.hxx" #include "util/ScopeExit.hxx" @@ -336,7 +337,7 @@ tag_id3_import(struct id3_tag *tag) scan_id3_tag(tag, add_tag_handler, &tag_builder); return tag_builder.empty() ? nullptr - : tag_builder.CommitNew(); + : tag_builder.CommitNew().release(); } bool |