- got rid of the remaining persistent std::strings in the file system.
This also uses the string pool now.
This commit is contained in:
parent
929cae2f41
commit
94c9ee4593
4 changed files with 13 additions and 9 deletions
|
|
@ -307,7 +307,7 @@ void FileSystem::AddLump(FResourceLump *lump)
|
|||
|
||||
int FileSystem::AddExternalFile(const char *filename)
|
||||
{
|
||||
FResourceLump *lump = new FExternalLump(filename);
|
||||
FResourceLump *lump = new FExternalLump(filename, -1, stringpool);
|
||||
AddLump(lump);
|
||||
return (int)FileInfo.size() - 1; // later
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue