EgtExchange 2.2k3 :
- corrette CreateBeamMgr, CreateExport*, CreateImport* in caso di errore ora restituiscono nullptr.
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ CreateImportPnt( void)
|
||||
{
|
||||
// verifico la chiave e le opzioni
|
||||
if ( ! TestKeyForEEx( GetEExKey(), KEYOPT_EEX_INPBASE, GetEExLogger()))
|
||||
return false ;
|
||||
return nullptr ;
|
||||
// creo l'oggetto
|
||||
return static_cast<IImportPnt*> ( new(nothrow) ImportPnt) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user