The big NULL replacement party part 5.
Right. ' = NULL' would get a lot of these.
This commit is contained in:
+2
-2
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "InputMapper.h"
|
||||
|
||||
InputQueue* INPUTQUEUE = NULL; // global and accessable from anywhere in our program
|
||||
InputQueue* INPUTQUEUE = nullptr; // global and accessable from anywhere in our program
|
||||
|
||||
const unsigned MAX_INPUT_QUEUE_LENGTH = 32;
|
||||
|
||||
@@ -95,7 +95,7 @@ bool InputQueueCode::EnteredCode( GameController controller ) const
|
||||
int iMinSearchIndexUsed = iQueueIndex;
|
||||
for( int b=0; b<(int) Press.m_aButtonsToPress.size(); ++b )
|
||||
{
|
||||
const InputEventPlus *pIEP = NULL;
|
||||
const InputEventPlus *pIEP = nullptr;
|
||||
int iQueueSearchIndex = iQueueIndex;
|
||||
for( ; iQueueSearchIndex>=0; --iQueueSearchIndex ) // iterate newest to oldest
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user