Visual Studio 2013 compilation support for NeL Tools

--HG--
branch : develop
This commit is contained in:
kaetemi 2015-02-20 17:51:13 +01:00
parent 32b3b4ac80
commit 997722ee6b
3 changed files with 4 additions and 4 deletions

View file

@ -163,7 +163,7 @@ void readFormId( string& outputFileName )
map<string,uint8>::iterator itFT = FileTypeToId.find(fileType);
if( itFT == FileTypeToId.end() )
{
FileTypeToId.insert( make_pair(fileType,fid.FormIDInfos.Type) );
FileTypeToId.insert( std::pair<std::string, uint8>(fileType,fid.FormIDInfos.Type) );
}
}
else

View file

@ -379,7 +379,7 @@ int main(int argc, char *argv[])
CSString subFileName = parser.leftCrop(sizeof(" <nel:xml_file name=")-1);
subFileName = subFileName.matchDelimiters(false, false, true, false);
subFileName = subFileName.unquoteIfQuoted();
subFileName = dirName+"/"+subFileName;
subFileName = dirName + "/" + subFileName.c_str();
printf("Extracting file '%s'...\n", CFile::getFilename(subFileName).c_str());
// open the output file

View file

@ -990,7 +990,7 @@ void processGlobalRetriever()
{
if (Verbose)
nlinfo("unlink: %s", unlinkstr.c_str());
faultyInstances.insert(make_pair<uint, CFaultyInstance>(i, fi));
faultyInstances.insert(std::pair<uint, CFaultyInstance>(i, fi));
}
}
@ -1046,7 +1046,7 @@ void processGlobalRetriever()
{
if (Verbose)
nlinfo("after fix: unlink: %s", unlinkstr.c_str());
faultyInstances.insert(make_pair<uint, CFaultyInstance>(i, fi));
faultyInstances.insert(std::pair<uint, CFaultyInstance>(i, fi));
}
}
}