Change NULL to nullptr

This commit is contained in:
Birunthan Mohanathas
2013-05-31 17:28:39 +03:00
parent da9384cfad
commit 1934c5db72
92 changed files with 760 additions and 759 deletions

View File

@ -149,7 +149,7 @@ ULONGLONG GetPerfData(LPCWSTR objectName, LPCWSTR instanceName, LPCWSTR counterN
if (pPerfObj)
{
for (CPerfObjectInstance* pObjInst = pPerfObj->GetFirstObjectInstance();
pObjInst != NULL;
pObjInst != nullptr;
pObjInst = pPerfObj->GetNextObjectInstance())
{
if (*instanceName)
@ -170,9 +170,9 @@ ULONGLONG GetPerfData(LPCWSTR objectName, LPCWSTR instanceName, LPCWSTR counterN
}
CPerfCounter* pPerfCntr = pObjInst->GetCounterByName(counterName);
if (pPerfCntr != NULL)
if (pPerfCntr != nullptr)
{
pPerfCntr->GetData(data, 256, NULL);
pPerfCntr->GetData(data, 256, nullptr);
if (pPerfCntr->GetSize() == 1)
{