Mercurial > hg > orthanc
diff Core/FileStorage/FilesystemStorage.cpp @ 1911:7a05144cb919
fix issue #11
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 28 Jan 2016 17:07:22 +0100 |
parents | b1291df2f780 |
children | e9e6ffbf0fd5 |
line wrap: on
line diff
--- a/Core/FileStorage/FilesystemStorage.cpp Fri Jan 15 17:31:00 2016 +0100 +++ b/Core/FileStorage/FilesystemStorage.cpp Thu Jan 28 17:07:22 2016 +0100 @@ -165,7 +165,7 @@ { for (fs::recursive_directory_iterator current(root_), end; current != end ; ++current) { - if (fs::is_regular_file(current->status())) + if (Toolbox::IsRegularFile(current->path().string())) { try {