For Boost 1.35 and earlier, use is_regular
Fixes 0F17CB7F-A000-4F99-8471-739948AD575F
This commit is contained in:
parent
7bd0170d51
commit
3fab2e1333
1 changed files with 6 additions and 1 deletions
|
|
@ -663,7 +663,12 @@ void instance_t::include_directive(char * line)
|
|||
for (filesystem::directory_iterator iter(parent_path);
|
||||
iter != end;
|
||||
++iter) {
|
||||
if (is_regular_file(*iter)) {
|
||||
#if BOOST_VERSION <= 103500
|
||||
if (is_regular(*iter))
|
||||
#else
|
||||
if (is_regular_file(*iter))
|
||||
#endif
|
||||
{
|
||||
#if BOOST_VERSION >= 103700
|
||||
string base = (*iter).filename();
|
||||
#else // BOOST_VERSION >= 103700
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue