diff options
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(); |