From a133920eb0fc6913993552006bce9eb60eccdcb8 Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Tue, 10 May 2011 09:32:47 +0200 Subject: [PATCH] boost filesystem fix --- components/files/multidircollection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/files/multidircollection.cpp b/components/files/multidircollection.cpp index 4428b364ea..9a0d31c42f 100644 --- a/components/files/multidircollection.cpp +++ b/components/files/multidircollection.cpp @@ -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);