Commit e4d0293a authored by Max Kellermann's avatar Max Kellermann

DecoderAPI: "move" the Tag object

Reduce runtime overhead.
parent ae77542a
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment