Attempt to speed up directory parsing.

This commit is contained in:
Stephen Anthony 2022-08-13 21:35:00 -02:30
parent fadd3eccf1
commit ccf4f5e92b
1 changed files with 1 additions and 4 deletions

View File

@ -128,10 +128,7 @@ bool FSNodeREGULAR::getChildren(AbstractFSList& myList, ListMode mode) const
return false;
std::error_code ec;
for (const auto& entry: fs::directory_iterator{_fspath,
fs::directory_options::follow_directory_symlink |
fs::directory_options::skip_permission_denied,
ec})
for (const auto& entry: fs::directory_iterator{_fspath, ec})
{
const auto& path = entry.path();