Replace 0 and NULL with nullptr where apropriate.
- fixed using clang-tidy's modernize-use-nullptr check.
This commit is contained in:
@@ -36,9 +36,9 @@ namespace glabels
|
||||
|
||||
ColorHistory* ColorHistory::instance()
|
||||
{
|
||||
static ColorHistory* singletonInstance = 0;
|
||||
static ColorHistory* singletonInstance = nullptr;
|
||||
|
||||
if ( singletonInstance == 0 )
|
||||
if ( singletonInstance == nullptr )
|
||||
{
|
||||
singletonInstance = new ColorHistory();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user