From 1c0bf162f247d53da39ebcb5be3e81b4c682825b Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 15 Mar 2012 16:56:36 +0100 Subject: [PATCH] boost compatibility fix --- components/files/fileops.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/files/fileops.cpp b/components/files/fileops.cpp index 4f314caca4..4bb71f8661 100644 --- a/components/files/fileops.cpp +++ b/components/files/fileops.cpp @@ -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) {