mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-03 04:19:20 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -83,13 +83,13 @@ void PixCounterNamespace::remove()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
FreeLibrary(ms_pixDll);
|
||||
ms_pixDll = NULL;
|
||||
ms_pixDll = nullptr;
|
||||
#endif
|
||||
|
||||
ms_setCounterFloat = NULL;
|
||||
ms_setCounterInt = NULL;
|
||||
ms_setCounterInt64 = NULL;
|
||||
ms_setCounterString = NULL;
|
||||
ms_setCounterFloat = nullptr;
|
||||
ms_setCounterInt = nullptr;
|
||||
ms_setCounterInt64 = nullptr;
|
||||
ms_setCounterString = nullptr;
|
||||
|
||||
// Make sure the counter memory gets freed at this point
|
||||
Counters().swap(ms_counters);
|
||||
@@ -379,7 +379,7 @@ PixCounter::String::String()
|
||||
: Counter(),
|
||||
m_enabled(false),
|
||||
m_lastFrameValue(),
|
||||
m_lastFrameValuePointer(NULL),
|
||||
m_lastFrameValuePointer(nullptr),
|
||||
m_currentValue()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user