song: initialize m_hash in default constructor
This commit is contained in:
@@ -39,7 +39,7 @@ struct Song
|
|||||||
|
|
||||||
typedef std::string (Song::*GetFunction)(unsigned) const;
|
typedef std::string (Song::*GetFunction)(unsigned) const;
|
||||||
|
|
||||||
Song() { }
|
Song() : m_hash(0) { }
|
||||||
virtual ~Song() { }
|
virtual ~Song() { }
|
||||||
|
|
||||||
Song(mpd_song *s);
|
Song(mpd_song *s);
|
||||||
|
|||||||
Reference in New Issue
Block a user