diff options
author | Max Kellermann <max@duempel.org> | 2013-10-21 23:19:15 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-21 23:19:15 +0200 |
commit | 20cba9e89f80d788a1cc65473865f52de94ea451 (patch) | |
tree | 7e9d96754b4f59ea2235c1455e18ba83cd31411a /src/DecoderControl.hxx | |
parent | f6d67ac260ad12a6465378d93d03d98fea857ec8 (diff) | |
download | mpd-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.hxx | 4 |
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(); |