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. --- test/dump_playlist.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dump_playlist.cxx') diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx index df7c6d739..ea341ab95 100644 --- a/test/dump_playlist.cxx +++ b/test/dump_playlist.cxx @@ -106,7 +106,7 @@ decoder_data(G_GNUC_UNUSED struct decoder *decoder, enum decoder_command decoder_tag(G_GNUC_UNUSED struct decoder *decoder, G_GNUC_UNUSED struct input_stream *is, - G_GNUC_UNUSED const Tag *tag) + G_GNUC_UNUSED Tag &&tag) { return DECODE_COMMAND_NONE; } -- cgit v1.2.3