EgtGeomKernel 1.9h1 :
- sistemazioni varie in CAvToolTriangle - utilizzo di std::async in CAvToolSurfTm - corretto GetAllTriaAroundVertex di SurfTm - aggiunto ( nothrow) a tutti i new.
This commit is contained in:
+1
-1
@@ -315,7 +315,7 @@ NgeReader::ReadString( string& sVal, const char* szSep, bool bEndL)
|
||||
m_InFile.read( (char*) &nDim, sizeof( nDim)) ;
|
||||
if ( nDim > MAX_STR_DIM || ! m_InFile.good())
|
||||
return false ;
|
||||
char* szBuff = new char[ nDim + 1] ;
|
||||
char* szBuff = new( nothrow) char[ nDim + 1] ;
|
||||
if ( szBuff == nullptr)
|
||||
return false ;
|
||||
m_InFile.read( szBuff, nDim) ;
|
||||
|
||||
Reference in New Issue
Block a user