From d79e5f7262952af182d629a4c7808897841f0a10 Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 29 Oct 2024 14:49:50 +0100 Subject: [PATCH] Remove unused lam ba --- src/workflow/Util.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/workflow/Util.cpp b/src/workflow/Util.cpp index 240aa04a56..f69b9e75ee 100644 --- a/src/workflow/Util.cpp +++ b/src/workflow/Util.cpp @@ -246,17 +246,6 @@ void zipDirectory(const openstudio::path& dirPath, const openstudio::path& zipFi static constexpr std::array 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)) {