Commit 84bae1abe0d4c9ec64d2ec5707d0821a3862bf2d
1 parent
4e2809fa
fixed an error produced when file lists are used without Boost in Unix
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
stim/parser/filename.h
... | ... | @@ -235,6 +235,7 @@ public: |
235 | 235 | } |
236 | 236 | FindClose(hFind); |
237 | 237 | } |
238 | + return file_list; | |
238 | 239 | |
239 | 240 | #elif BOOST_PRECOMPILED |
240 | 241 | |
... | ... | @@ -265,12 +266,13 @@ public: |
265 | 266 | |
266 | 267 | } |
267 | 268 | |
268 | - } | |
269 | + } | |
270 | + return file_list; | |
269 | 271 | #else |
270 | 272 | std::cout<<"ERROR: UNIX systems don't support file lists without the Boost precompiled libraries."<<std::endl; |
271 | 273 | exit(1); |
272 | 274 | #endif |
273 | - return file_list; | |
275 | + | |
274 | 276 | } |
275 | 277 | //************************************************************************************************** |
276 | 278 | ... | ... |