aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderControl.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-21 23:19:15 +0200
committerMax Kellermann <max@duempel.org>2013-10-21 23:19:15 +0200
commit20cba9e89f80d788a1cc65473865f52de94ea451 (patch)
tree7e9d96754b4f59ea2235c1455e18ba83cd31411a /src/DecoderControl.hxx
parentf6d67ac260ad12a6465378d93d03d98fea857ec8 (diff)
downloadmpd-20cba9e89f80d788a1cc65473865f52de94ea451.tar.gz
mpd-20cba9e89f80d788a1cc65473865f52de94ea451.tar.xz
mpd-20cba9e89f80d788a1cc65473865f52de94ea451.zip
Song: pass reference to song_equals()
Diffstat (limited to 'src/DecoderControl.hxx')
-rw-r--r--src/DecoderControl.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DecoderControl.hxx b/src/DecoderControl.hxx
index 07ec71ea2..bc2e7d786 100644
--- a/src/DecoderControl.hxx
+++ b/src/DecoderControl.hxx
@@ -274,10 +274,10 @@ struct decoder_control {
* Caller must lock the object.
*/
gcc_pure
- bool IsCurrentSong(const Song *_song) const;
+ bool IsCurrentSong(const Song &_song) const;
gcc_pure
- bool LockIsCurrentSong(const Song *_song) const {
+ bool LockIsCurrentSong(const Song &_song) const {
Lock();
const bool result = IsCurrentSong(_song);
Unlock();