mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Re-define nil as nullptr, cleaning up some potential issues along the way
This commit is contained in:
@ -154,7 +154,7 @@ void plFactory::IUnRegister(uint16_t hClass)
|
||||
uint16_t plFactory::Register(uint16_t hClass, plCreator* worker)
|
||||
{
|
||||
if( !theFactory && !ICreateTheFactory() )
|
||||
return nil;
|
||||
return 0;
|
||||
|
||||
hsRefCnt_SafeRef(theFactory);
|
||||
return theFactory->IRegister(hClass, worker);
|
||||
|
Reference in New Issue
Block a user