From 93010d327722f3b16bf7e286b6cf1ad234d540b0 Mon Sep 17 00:00:00 2001 From: randomdan Date: Mon, 9 May 2011 10:06:43 +0000 Subject: Bridge boost::filesystem2/3 compile gap --- project2/fsRows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project2/fsRows.cpp b/project2/fsRows.cpp index 868eaa7..c8a711c 100644 --- a/project2/fsRows.cpp +++ b/project2/fsRows.cpp @@ -41,7 +41,7 @@ class FsRowSpecName : public FsRows::SpecBase { // Based on code written by Jack Handy - jakkhandy@hotmail.com // from http://www.codeproject.com/KB/string/wildcmp.aspx Glib::ustring::const_iterator wild = pattern.begin(); - Glib::ustring leaf(curPath(fs).leaf().string()); + Glib::ustring leaf(boost::lexical_cast(curPath(fs).leaf())); Glib::ustring::const_iterator string = leaf.begin(); while ((string != leaf.end()) && (*wild != '*')) { -- cgit v1.2.3