Update D3MFImporter.cpp
Use static cast instead of c-cast.
This commit is contained in:
@@ -282,7 +282,7 @@ private:
|
||||
MatIdArray = it->second;
|
||||
}
|
||||
}
|
||||
MatIdArray.push_back( (unsigned int)newMatIdx );
|
||||
MatIdArray.push_back( static_cast<unsigned int>( newMatIdx ) );
|
||||
mMatId2MatArray[ mActiveMatGroup ] = MatIdArray;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user