clang-modernize -use-nullptr

and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
This commit is contained in:
Tillmann Karras committed 2014-03-09 21:14:26 +01:00
1 parent f28116b7da
commit d802d39281
292 files changed
+1526 -1526

No files matched your search

+3 -3
View File
@@ -43,7 +43,7 @@ static std::mutex tsWriteLock;
Common::FifoQueue<BaseEvent, false> tsQueue;
// event pools
Event *eventPool = 0;
Event *eventPool = nullptr;
int downcount, slicelength;
int maxSliceLength = MAX_SLICE_LENGTH;
@@ -59,7 +59,7 @@ u64 fakeTBStartTicks;
int ev_lost;
void (*advanceCallback)(int cyclesExecuted) = NULL;
void (*advanceCallback)(int cyclesExecuted) = nullptr;
Event* GetNewEvent()
{
@@ -236,7 +236,7 @@ void ClearPendingEvents()
void AddEventToQueue(Event* ne)
{
Event* prev = NULL;
Event* prev = nullptr;
Event** pNext = &first;
for(;;)
{