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