diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-04 01:11:15 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-06-04 01:11:15 +0100 |
commit | f2fae55aa16c52054eb1375dfcc2498fa23ba130 (patch) | |
tree | 7acbec0784b4dd55b7cbca4d0f748e7c3b0bbda9 /assetFactory | |
parent | Remove fscanf and fixed buffers from AssetFactory::parseX11RGB (diff) | |
download | ilt-f2fae55aa16c52054eb1375dfcc2498fa23ba130.tar.bz2 ilt-f2fae55aa16c52054eb1375dfcc2498fa23ba130.tar.xz ilt-f2fae55aa16c52054eb1375dfcc2498fa23ba130.zip |
Fix accumulator parameter type for pass-thru in AssetFactory::loadAll
Diffstat (limited to 'assetFactory')
-rw-r--r-- | assetFactory/assetFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/assetFactory.cpp b/assetFactory/assetFactory.cpp index fe4e0be..0f35937 100644 --- a/assetFactory/assetFactory.cpp +++ b/assetFactory/assetFactory.cpp @@ -35,7 +35,7 @@ AssetFactory::Assets AssetFactory::loadAll(const std::filesystem::path & root) { return std::accumulate(std::filesystem::recursive_directory_iterator {root}, - std::filesystem::recursive_directory_iterator {}, Assets {}, [](auto && out, auto && path) { + std::filesystem::recursive_directory_iterator {}, Assets {}, [](auto out, const auto & path) { if (path.path().extension() == ".xml") { out.merge(loadXML(path)->assets); } |