diff --git a/src/song.h b/src/song.h index 59cd0e90..d84561ca 100644 --- a/src/song.h +++ b/src/song.h @@ -53,7 +53,8 @@ namespace MPD std::string GetDisc() const; std::string GetComment() const; std::string GetLength() const; - const long long &GetHash() const { return itsHash; } + + long long GetHash() const { return itsHash; } int GetTotalLength() const { return itsSong->time < 0 ? 0 : itsSong->time; } int GetPosition() const { return itsSong->pos; } int GetID() const { return itsSong->id; }