More Effective Violations being purged.

This commit is contained in:
Jason Felds
2011-03-18 12:18:09 -04:00
parent 8829599e4d
commit f6034bb103
3 changed files with 14 additions and 2 deletions
+5 -1
View File
@@ -178,7 +178,11 @@ class SongID
mutable CachedObjectPointer<Song> m_Cache;
public:
SongID() { Unset(); }
/**
* @brief Set up the SongID with default values.
*
* This used to call Unset() to do the same thing. */
SongID(): sDir("") { m_Cache.Unset(); }
void Unset() { FromSong(NULL); }
void FromSong( const Song *p );
Song *ToSong() const;