song: initialize m_hash in default constructor

This commit is contained in:
Andrzej Rybczak
2014-08-30 13:06:00 +02:00
parent fbe1c1fdb2
commit a959d5c0a6

View File

@@ -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);