Skip to content

Commit

Permalink
Remove unused lam ba
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec authored Oct 29, 2024
1 parent 77d1ef3 commit d79e5f7
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/workflow/Util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,17 +246,6 @@ void zipDirectory(const openstudio::path& dirPath, const openstudio::path& zipFi

static constexpr std::array<std::string_view, 3> filterOutDirNames{"seed", "measures", "weather"};

auto directorySize = [](const openstudio::path& dirPath) {
uintmax_t dirSize = 0;
for (const auto& dirEnt : fs::recursive_directory_iterator{dirPath}) {
const auto& dirEntryPath = dirEnt.path();
if (fs::is_regular_file(dirEntryPath)) {
dirSize += fs::file_size(dirEntryPath);
}
}
return dirSize;
};

for (const auto& dirEnt : fs::directory_iterator{dirPath}) {
const auto& dirEntryPath = dirEnt.path();
if (fs::is_directory(dirEntryPath)) {
Expand Down

0 comments on commit d79e5f7

Please sign in to comment.