EgtNesting 2.2k2 :
- corretta CreateAutoNester in caso di errore ora restituisce nullptr.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ CreateAutoNester( void)
|
||||
{
|
||||
// verifico la chiave e le opzioni
|
||||
if ( ! TestKeyForENs( GetENsKey(), 0, GetENsLogger()))
|
||||
return false ;
|
||||
return nullptr ;
|
||||
// creo il NestMgr
|
||||
return static_cast<IAutoNester*> ( new(nothrow) AutoNester) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user