summaryrefslogtreecommitdiff
path: root/src/tasks.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2025-03-30 14:23:26 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2025-03-30 14:38:01 +0200
commit0022a217643dd7119df5dc0fcca41161d3201acc (patch)
tree8917a1f72958c4c595df4e72ca26389f9780b6c6 /src/tasks.cc
parent0778d3c45d1aef18d9b2ae6769e372b2a3d83b8e (diff)
Refactor code for registering build_configuration registrations.
Diffstat (limited to 'src/tasks.cc')
-rw-r--r--src/tasks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks.cc b/src/tasks.cc
index e853470..94fe269 100644
--- a/src/tasks.cc
+++ b/src/tasks.cc
@@ -25,7 +25,7 @@
const std::deque<Target>& getTargets(const ctor::settings& settings,
bool resolve_externals)
{
- auto config_files = std::span(configFiles).subspan(0, numConfigFiles);
+ auto& config_files = getConfigFileList();
static bool initialised{false};
static std::deque<Target> targets;