Modernization cleanup.

This commit is contained in:
Jim Evins
2017-04-10 22:43:34 -04:00
parent b17cea7ace
commit 4d194f72e9
34 changed files with 110 additions and 109 deletions
+5 -5
View File
@@ -63,11 +63,11 @@ namespace glbarcode
}
void Factory::init( void )
void Factory::init( )
{
static Factory* singletonInstance = NULL;
static Factory* singletonInstance = nullptr;
if ( singletonInstance == NULL )
if ( singletonInstance == nullptr )
{
singletonInstance = new Factory();
}
@@ -92,7 +92,7 @@ namespace glbarcode
}
TypeIdList Factory::getSupportedTypes( void )
TypeIdList Factory::getSupportedTypes( )
{
init();
@@ -111,7 +111,7 @@ namespace glbarcode
return i->second();
}
return NULL;
return nullptr;
}