Fixed: Compilation with clang
--HG-- branch : develop
This commit is contained in:
parent
c94ce037bb
commit
b766a01c8a
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