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
commit93010d327722f3b16bf7e286b6cf1ad234d540b0 (patch)
tree0bad6f5719cd155c6aaf5e9c0b526d0ff984133f
parentFix off by one since moving to boost::filesystem3 (diff)
downloadproject2-93010d327722f3b16bf7e286b6cf1ad234d540b0.tar.bz2
project2-93010d327722f3b16bf7e286b6cf1ad234d540b0.tar.xz
project2-93010d327722f3b16bf7e286b6cf1ad234d540b0.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 != '*')) {