[Gui] remove more superfluous nullptr checks
This commit is contained in:
@@ -1818,7 +1818,7 @@ SelectionSingleton* SelectionSingleton::_pcSingleton = nullptr;
|
||||
|
||||
SelectionSingleton& SelectionSingleton::instance(void)
|
||||
{
|
||||
if (_pcSingleton == nullptr)
|
||||
if (!_pcSingleton)
|
||||
_pcSingleton = new SelectionSingleton;
|
||||
return *_pcSingleton;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user