diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-08 17:31:36 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-06-09 22:25:15 +0200 |
commit | 61f7f7538cc6abb0be64c35570f38dd2541d7451 (patch) | |
tree | 092c97084f191eb502b06740a76658432dada34a /src/tasks.cc | |
parent | d9cb571fe126e7e94a52361d733161aa25f23597 (diff) |
Add const Settings& to build configuration callbacks.
Diffstat (limited to 'src/tasks.cc')
-rw-r--r-- | src/tasks.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tasks.cc b/src/tasks.cc index af364b9..646292a 100644 --- a/src/tasks.cc +++ b/src/tasks.cc @@ -9,7 +9,6 @@ #include <iostream> #include <algorithm> -#include "settings.h" #include "libctor.h" #include "task.h" #include "task_cc.h" @@ -35,7 +34,7 @@ const std::deque<Target>& getTargets(const Settings& settings, { std::cout << configFiles[i].file << " in path " << path << "\n"; } - auto configs = configFiles[i].cb(); + auto configs = configFiles[i].cb(settings); for(auto& config : configs) { if(resolve_externals) |