return value instead of const reference to long long
This commit is contained in:
@@ -53,7 +53,8 @@ namespace MPD
|
|||||||
std::string GetDisc() const;
|
std::string GetDisc() const;
|
||||||
std::string GetComment() const;
|
std::string GetComment() const;
|
||||||
std::string GetLength() 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 GetTotalLength() const { return itsSong->time < 0 ? 0 : itsSong->time; }
|
||||||
int GetPosition() const { return itsSong->pos; }
|
int GetPosition() const { return itsSong->pos; }
|
||||||
int GetID() const { return itsSong->id; }
|
int GetID() const { return itsSong->id; }
|
||||||
|
|||||||
Reference in New Issue
Block a user