diff options
Diffstat (limited to 'assetFactory/assetFactory.cpp')
-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); } |