Skip to content
Snippets Groups Projects
Commit ec4e0e93 authored by Karl Rupp's avatar Karl Rupp
Browse files

Added missing preprocessor switch for old Boost.Filesystem in converter.cpp

parent 50103ae9
No related branches found
No related tags found
No related merge requests found
......@@ -94,10 +94,11 @@ void createSourceFile(const char * dirname)
{
#ifdef USE_OLD_BOOST_FILESYSTEM_VERSION
std::string fname = cl_itr->path().filename();
std::string alignment = alignment_itr->path().filename();
#else
std::string fname = cl_itr->path().filename().string();
#endif
std::string alignment = alignment_itr->path().filename().string();
#endif
size_t pos = fname.find(".cl");
if ( pos == std::string::npos )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment