1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-04-09 21:44:54 +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(); fullPath = it->string();
if (ignoreExtensions) if (ignoreExtensions)
fullPath.erase(fullPath.length() - it->extension().string().length()); fullPath.erase(fullPath.length() -
boost::filesystem::path (it->extension()).string().length());
if (!strict) if (!strict)
{ {