summaryrefslogtreecommitdiff
path: root/src/task.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-09-20 17:31:54 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-09-20 17:31:54 +0200
commitcb5f269b13429f0e1ffbc41426227983e5ccaeba (patch)
tree14e4bd292e1a16ff3d844e73a466ab051f7345d7 /src/task.h
parent41ce3a4dcf5a03588b7c350445e73975c6b12ff7 (diff)
Simplify/fix task dependency calculation. And tasks unit-tests.
Diffstat (limited to 'src/task.h')
-rw-r--r--src/task.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/task.h b/src/task.h
index acbefb3..4461612 100644
--- a/src/task.h
+++ b/src/task.h
@@ -21,8 +21,7 @@ enum class State
class Task
{
public:
- Task(const BuildConfiguration& config,
- const std::vector<std::string>& depends = {});
+ Task(const BuildConfiguration& config);
int registerDepTasks(const std::list<std::shared_ptr<Task>>& tasks);