diff options
Diffstat (limited to 'src/support/filesystem_context.cc')
-rw-r--r-- | src/support/filesystem_context.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/support/filesystem_context.cc b/src/support/filesystem_context.cc index d0813c2..baeccf3 100644 --- a/src/support/filesystem_context.cc +++ b/src/support/filesystem_context.cc @@ -40,7 +40,8 @@ void FilesystemContext::iterate( for ( boost::filesystem::directory_iterator iter(directory); iter != boost::filesystem::directory_iterator(); ++iter ) { - if ( boost::filesystem::is_regular_file(iter->status()) ) { + if ( boost::filesystem::is_regular_file(iter->status()) || + boost::filesystem::is_directory(iter->status()) ) { func(*iter); } } |