mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
fix ResPaths::listdir
This commit is contained in:
parent
e31952b990
commit
ef170247cc
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ std::vector<io::path> ResPaths::listdir(
|
||||||
io::path folder = root.path / folderName;
|
io::path folder = root.path / folderName;
|
||||||
if (!io::is_directory(folder)) continue;
|
if (!io::is_directory(folder)) continue;
|
||||||
for (const auto& entry : io::directory_iterator(folder)) {
|
for (const auto& entry : io::directory_iterator(folder)) {
|
||||||
entries.push_back(folder / entry);
|
entries.push_back(entry);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return entries;
|
return entries;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue