Fix issues in 87a2c3347f
Fixes 87a2c3347f
:
- NoPCH was broken
- two warnings slipped through.
Differential Revision: https://code.wildfiregames.com/D3751
This was SVN commit r25147.
This commit is contained in:
parent
2ee0e62a0e
commit
b477892440
@ -22,6 +22,7 @@
|
||||
|
||||
#include "lib/self_test.h"
|
||||
|
||||
#include "lib/file/vfs/vfs.h"
|
||||
#include "lib/file/vfs/vfs_populate.h"
|
||||
#include "lib/os_path.h"
|
||||
|
||||
@ -106,7 +107,7 @@ public:
|
||||
g_VFS->Mount(L"mod", TEST_FOLDER / "mod_b" / "", 0, 0);
|
||||
|
||||
// For consistency, populate everything.
|
||||
g_VFS->TextRepresentation().c_str();
|
||||
ignore_result(g_VFS->TextRepresentation().c_str());
|
||||
|
||||
OsPath realPath;
|
||||
g_VFS->GetDirectoryRealPath(L"mod", realPath);
|
||||
|
@ -397,7 +397,7 @@ void MountMods(const Paths& paths, const std::vector<CStr>& mods)
|
||||
|
||||
size_t userFlags = VFS_MOUNT_WATCH|VFS_MOUNT_ARCHIVABLE;
|
||||
size_t baseFlags = userFlags|VFS_MOUNT_MUST_EXIST;
|
||||
size_t priority;
|
||||
size_t priority = 0;
|
||||
for (size_t i = 0; i < mods.size(); ++i)
|
||||
{
|
||||
priority = i + 1; // Mods are higher priority than regular mountings, which default to priority 0
|
||||
|
Loading…
Reference in New Issue
Block a user