From cbd38327e7f6948647768227ac4836f64e5ccd51 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 31 Jul 2013 00:34:22 +0200 Subject: DecoderAPI: pass rvalue reference to decoder_tag() Avoid duplicating the tag. --- src/DecoderAPI.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/DecoderAPI.hxx') diff --git a/src/DecoderAPI.hxx b/src/DecoderAPI.hxx index d4886d062..c70365bff 100644 --- a/src/DecoderAPI.hxx +++ b/src/DecoderAPI.hxx @@ -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. -- cgit v1.2.3