diff options
author | Max Kellermann <max@duempel.org> | 2014-12-26 22:30:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-26 22:30:54 +0100 |
commit | af9092df3928ee770875a0b1acee1dc7b6347245 (patch) | |
tree | 5ca24d3a67479af975712b0e032a4a3c8e0a30dd /src/encoder/EncoderPlugin.hxx | |
parent | 58a5da33c243c057ac4f70ffcfa179b9710161d2 (diff) | |
download | mpd-af9092df3928ee770875a0b1acee1dc7b6347245.tar.gz mpd-af9092df3928ee770875a0b1acee1dc7b6347245.tar.xz mpd-af9092df3928ee770875a0b1acee1dc7b6347245.zip |
EncoderPlugin: pass Tag reference to method tag()
Diffstat (limited to '')
-rw-r--r-- | src/encoder/EncoderPlugin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoder/EncoderPlugin.hxx b/src/encoder/EncoderPlugin.hxx index 95e4e5838..8b0754f3f 100644 --- a/src/encoder/EncoderPlugin.hxx +++ b/src/encoder/EncoderPlugin.hxx @@ -65,7 +65,7 @@ struct EncoderPlugin { bool (*pre_tag)(Encoder *encoder, Error &error); - bool (*tag)(Encoder *encoder, const Tag *tag, + bool (*tag)(Encoder *encoder, const Tag &tag, Error &error); bool (*write)(Encoder *encoder, @@ -240,7 +240,7 @@ encoder_pre_tag(Encoder *encoder, Error &error) * @return true on success */ static inline bool -encoder_tag(Encoder *encoder, const Tag *tag, Error &error) +encoder_tag(Encoder *encoder, const Tag &tag, Error &error) { assert(encoder->open); assert(!encoder->pre_tag); |