Skip to content
Snippets Groups Projects
Commit e799f8af authored by ilor's avatar ilor
Browse files

*proper* fix for the boost::fs issue

parent aed986c9
Branches
No related merge requests found
......@@ -121,7 +121,7 @@ std::vector<std::string> PathSearcherBase::list_files(const std::string& suffix)
for (directory_iterator i(p); i != directory_iterator(); ++i) {
boost::filesystem::path in = i->path();
if (in.extension() == suffix) {
#if BOOST_FILESYSTEM_VERSION == 2
#if !defined(BOOST_FILESYSTEM_VERSION) || BOOST_FILESYSTEM_VERSION == 2
out.push_back(in.stem());
#else
out.push_back(in.stem().string());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment