diff options
author | randomdan <randomdan@localhost> | 2011-05-09 10:06:43 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-05-09 10:06:43 +0000 |
commit | fe61f5c93273a10aeae3d3bdb63f3ceb44f015c5 (patch) | |
tree | 0bad6f5719cd155c6aaf5e9c0b526d0ff984133f | |
parent | Fix off by one since moving to boost::filesystem3 (diff) | |
download | project2-fe61f5c93273a10aeae3d3bdb63f3ceb44f015c5.tar.bz2 project2-fe61f5c93273a10aeae3d3bdb63f3ceb44f015c5.tar.xz project2-fe61f5c93273a10aeae3d3bdb63f3ceb44f015c5.zip |
Bridge boost::filesystem2/3 compile gap
-rw-r--r-- | project2/fsRows.cpp | 2 |
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 != '*')) { |