Fixed: Compilation with clang
This commit is contained in:
parent
3e98e267a2
commit
64bcfd92fa
1 changed files with 3 additions and 1 deletions
|
@ -164,7 +164,9 @@ void readFormId( string& outputFileName )
|
||||||
map<string,uint8>::iterator itFT = FileTypeToId.find(fileType);
|
map<string,uint8>::iterator itFT = FileTypeToId.find(fileType);
|
||||||
if( itFT == FileTypeToId.end() )
|
if( itFT == FileTypeToId.end() )
|
||||||
{
|
{
|
||||||
FileTypeToId.insert( std::pair<std::string, uint8>(fileType,fid.FormIDInfos.Type) );
|
uint8 type = (uint8)fid.FormIDInfos.Type;
|
||||||
|
|
||||||
|
FileTypeToId.insert( std::pair<std::string, uint8>(fileType, type) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue