Replace 0 and NULL with nullptr where apropriate.

- fixed using clang-tidy's modernize-use-nullptr check.
This commit is contained in:
Jim Evins
2017-03-21 23:48:13 -04:00
parent e09936233a
commit 4be4ea08f6
54 changed files with 124 additions and 124 deletions
+4 -4
View File
@@ -79,9 +79,9 @@ namespace glabels
void BarcodeBackends::init( void )
{
static BarcodeBackends* singletonInstance = NULL;
static BarcodeBackends* singletonInstance = nullptr;
if ( singletonInstance == NULL )
if ( singletonInstance == nullptr )
{
singletonInstance = new BarcodeBackends();
}
@@ -132,7 +132,7 @@ namespace glabels
return i.value();
}
return 0;
return nullptr;
}
@@ -144,7 +144,7 @@ namespace glabels
return i.value();
}
return 0;
return nullptr;
}