DecoderAPI: pass rvalue reference to decoder_tag()

Avoid duplicating the tag.
This commit is contained in:
Max Kellermann
2013-07-31 00:34:22 +02:00
parent 06f898cc12
commit cbd38327e7
9 changed files with 13 additions and 14 deletions

View File

@@ -141,8 +141,7 @@ decoder_data(struct decoder *decoder, struct input_stream *is,
* command pending
*/
enum decoder_command
decoder_tag(struct decoder *decoder, struct input_stream *is,
const Tag *tag);
decoder_tag(struct decoder *decoder, struct input_stream *is, Tag &&tag);
/**
* Set replay gain values for the following chunks.