const_cast: convert some C-style casts and remove some redundant ones
Change-Id: If774a3b4e2e993d26dd9b5777a55665a330b2abe
This commit is contained in:
@@ -338,7 +338,7 @@ void SbiCodeGen::Save()
|
||||
SbxParamInfo* pParam = NULL;
|
||||
if( nUserData )
|
||||
{
|
||||
pParam = (SbxParamInfo*)pInfo->GetParam( i );
|
||||
pParam = const_cast<SbxParamInfo*>(pInfo->GetParam( i ));
|
||||
}
|
||||
if( pParam )
|
||||
{
|
||||
|
Reference in New Issue
Block a user