EgtNesting 2.2k2 :

- corretta CreateAutoNester in caso di errore ora restituisce nullptr.
This commit is contained in:
Dario Sassi
2020-11-19 15:24:52 +00:00
parent 63ffa66d1c
commit 768886e4d7
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -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) ;
}