mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-27 14:08:39 +01:00
Fix last pull request.
This commit is contained in:
parent
ba1591d8e7
commit
6dd7f517e6
1 changed files with 0 additions and 2 deletions
|
@ -217,7 +217,6 @@ static std::vector<struct File_Data> get_filenames_recursive(std::string base_pa
|
||||||
path += dir_name;
|
path += dir_name;
|
||||||
|
|
||||||
std::vector<struct File_Data> lower = get_filenames_recursive(path);
|
std::vector<struct File_Data> lower = get_filenames_recursive(path);
|
||||||
output.push_back(File_Data{ dir_name });// Is this needed ? Add folder name to the list of files ?
|
|
||||||
std::transform(lower.begin(), lower.end(), std::back_inserter(output), [&dir_name](File_Data f) {f.name = dir_name + "\\" + f.name; return f;});
|
std::transform(lower.begin(), lower.end(), std::back_inserter(output), [&dir_name](File_Data f) {f.name = dir_name + "\\" + f.name; return f;});
|
||||||
} else {
|
} else {
|
||||||
File_Data f;
|
File_Data f;
|
||||||
|
@ -357,7 +356,6 @@ static std::vector<struct File_Data> get_filenames_recursive(std::string base_pa
|
||||||
path += dir_name;
|
path += dir_name;
|
||||||
|
|
||||||
std::vector<struct File_Data> lower = get_filenames_recursive(path);
|
std::vector<struct File_Data> lower = get_filenames_recursive(path);
|
||||||
output.push_back(File_Data{ dir_name });// Is this needed ? Add folder name to the list of files ?
|
|
||||||
std::transform(lower.begin(), lower.end(), std::back_inserter(output), [&dir_name](File_Data f) {f.name = dir_name + "/" + f.name; return f;});
|
std::transform(lower.begin(), lower.end(), std::back_inserter(output), [&dir_name](File_Data f) {f.name = dir_name + "/" + f.name; return f;});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue