The big NULL replacement party part 5.

Right. ' = NULL' would get a lot of these.
This commit is contained in:
Jason Felds
2013-05-03 23:39:52 -04:00
parent 328c41eec0
commit 28e5148dec
233 changed files with 7448 additions and 7447 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ public:
Steps *pSteps;
/** @brief Set up a blank Song and
* <a class="el" href="class_steps.html">Step</a>. */
SongAndSteps() : pSong(NULL), pSteps(NULL) { }
SongAndSteps() : pSong(nullptr), pSteps(nullptr) { }
/**
* @brief Set up the specified Song and
* <a class="el" href="class_steps.html">Step</a>.
@@ -170,7 +170,7 @@ public:
* the same thing. */
StepsID(): st(StepsType_Invalid), dc(Difficulty_Invalid),
sDescription(""), uHash(0), m_Cache() {}
void Unset() { FromSteps(NULL); }
void Unset() { FromSteps(nullptr); }
void FromSteps( const Steps *p );
Steps *ToSteps( const Song *p, bool bAllowNull ) const;
bool operator<( const StepsID &rhs ) const;