summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-05-09 10:06:43 +0000
committerrandomdan <randomdan@localhost>2011-05-09 10:06:43 +0000
commitfe61f5c93273a10aeae3d3bdb63f3ceb44f015c5 (patch)
tree0bad6f5719cd155c6aaf5e9c0b526d0ff984133f
parentFix off by one since moving to boost::filesystem3 (diff)
downloadproject2-fe61f5c93273a10aeae3d3bdb63f3ceb44f015c5.tar.bz2
project2-fe61f5c93273a10aeae3d3bdb63f3ceb44f015c5.tar.xz
project2-fe61f5c93273a10aeae3d3bdb63f3ceb44f015c5.zip
Bridge boost::filesystem2/3 compile gap
-rw-r--r--project2/fsRows.cpp2
1 files changed, 1 insertions, 1 deletions
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<Glib::ustring>(curPath(fs).leaf()));
Glib::ustring::const_iterator string = leaf.begin();
while ((string != leaf.end()) && (*wild != '*')) {