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
+7 -1
View File
@@ -163,7 +163,13 @@ class StepsID
mutable CachedObjectPointer<Steps> m_Cache;
public:
StepsID() { Unset(); }
/**
* @brief Set up the StepsID with default values.
*
* This used to call Unset(), which set the variables to
* the same thing. */
StepsID(): st(StepsType_Invalid), dc(Difficulty_Invalid),
sDescription(""), uHash(0) {}
void Unset() { FromSteps(NULL); }
void FromSteps( const Steps *p );
Steps *ToSteps( const Song *p, bool bAllowNull ) const;