1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:45:34 +00:00

boost compatibility fix

This commit is contained in:
Marc Zinnschlag 2012-03-15 16:56:36 +01:00
parent a7211d2a90
commit 1c0bf162f2

View file

@ -94,7 +94,8 @@ bool isFile(const char *name)
{
fullPath = it->string();
if (ignoreExtensions)
fullPath.erase(fullPath.length() - it->extension().string().length());
fullPath.erase(fullPath.length() -
boost::filesystem::path (it->extension()).string().length());
if (!strict)
{