Skip to content

Commit

Permalink
Fixed gcc build
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Feb 28, 2023
1 parent 0eb6556 commit 37c60fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/emissioninventory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ static SingleEmissions read_country_pollutant_point_sources(const fs::path& dir,
scenarioMatch = fmt::format("emap_{}_{}_{}_", scenario, pol.code(), static_cast<int>(cfg.year()));
}

std::unordered_set<fs::path> pathsToUse;
std::set<fs::path> pathsToUse;

auto insertMatchingFiles = [&pathsToUse](std::string_view match, const fs::path& dir) {
for (auto iter : fs::directory_iterator(dir)) {
Expand Down

0 comments on commit 37c60fa

Please sign in to comment.