1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-09-19 13:33:39 +01:00

remove redundant directory creating during extraction

This commit is contained in:
flb 2022-08-07 16:17:01 +02:00
parent 81913f6bbd
commit 66a24674b2

View file

@ -7,7 +7,6 @@
#include <filesystem> #include <filesystem>
#include <fstream> #include <fstream>
#include <iomanip> #include <iomanip>
#include <iostream>
#include <iterator> #include <iterator>
#include <ranges> #include <ranges>
#include <set> #include <set>
@ -265,7 +264,7 @@ namespace extract {
if (std::find_if(titles.begin(), titles.end(), [&filename, offset](std::string title) { if (std::find_if(titles.begin(), titles.end(), [&filename, offset](std::string title) {
return caselessCompare((title.substr(0, 13)), filename.substr(offset, 13)); return caselessCompare((title.substr(0, 13)), filename.substr(offset, 13));
}) != titles.end()) { }) != titles.end()) {
extractEntry(filename, zfile, true); extractEntry(filename, zfile);
} }
} }
} }