DecoderAPI: "move" the Tag object

Reduce runtime overhead.
This commit is contained in:
Max Kellermann 2015-06-20 16:06:01 +02:00
parent ae77542a11
commit e4d0293a31
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ decoder_tag(Decoder &decoder, InputStream *is,
/* save the tag */
delete decoder.decoder_tag;
decoder.decoder_tag = new Tag(tag);
decoder.decoder_tag = new Tag(std::move(tag));
/* check for a new stream tag */