From 4e2809fa879bf304a8d958470e617505a0ec7e9f Mon Sep 17 00:00:00 2001 From: David Date: Fri, 13 May 2016 11:45:46 -0500 Subject: [PATCH] fixed an error produced when file lists are used without Boost in Unix --- stim/parser/filename.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/stim/parser/filename.h b/stim/parser/filename.h index f33a492..3f4ab6f 100644 --- a/stim/parser/filename.h +++ b/stim/parser/filename.h @@ -235,8 +235,8 @@ public: } FindClose(hFind); } - return file_list; -#else + +#elif BOOST_PRECOMPILED boost::filesystem::path p(dir()); //create a path from the current filename std::vector file_list; @@ -265,13 +265,12 @@ public: } - } - return file_list; - - -// std::cout<<"File lists aren't currently supported on Unix/Linux systems."<