1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 12:20:41 +00:00

boost filesystem fix

This commit is contained in:
Marc Zinnschlag 2011-05-10 09:32:47 +02:00
parent d9f1b64213
commit a133920eb0

View File

@ -55,10 +55,10 @@ namespace Files
{
boost::filesystem::path path = *iter;
if (!equal (extension, path.extension()))
if (!equal (extension, boost::filesystem::path (path.extension()).string()))
continue;
std::string filename = path.filename();
std::string filename = boost::filesystem::path (path.filename()).string();
TIter result = mFiles.find (filename);