From 6dd7f517e64bc58f5dbf9d50c692e348be08d579 Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Fri, 12 Jul 2019 11:26:07 -0400 Subject: [PATCH] Fix last pull request. --- dll/local_storage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/dll/local_storage.cpp b/dll/local_storage.cpp index 3f0e5b2..774d0fc 100644 --- a/dll/local_storage.cpp +++ b/dll/local_storage.cpp @@ -217,7 +217,6 @@ static std::vector get_filenames_recursive(std::string base_pa path += dir_name; std::vector 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;}); } else { File_Data f; @@ -357,7 +356,6 @@ static std::vector get_filenames_recursive(std::string base_pa path += dir_name; std::vector 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;}); } }