More Effective Violations being purged.
This commit is contained in:
+7
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user