diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-10-13 18:04:24 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-10-13 18:04:24 +0000 |
commit | 55592b253f3dddb121c1072ca584e95c37729b6d (patch) | |
tree | b49483dc7119996f6541403db744bcb634b886c1 /src/libstore | |
parent | 13804f126e62b308c8f748133114d05e315ba15b (diff) |
Add some more docs
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build/worker.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index 07c0c0f16..f8bacc514 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -11,6 +11,11 @@ namespace nix { class DerivationGoal; class SubstitutionGoal; +/* Workaround for not being able to declare a something like + + class SubstitutionGoal : public Goal; + + even when Goal is a complete type; */ GoalPtr upcast_goal(std::shared_ptr<SubstitutionGoal> subGoal); typedef std::chrono::time_point<std::chrono::steady_clock> steady_time_point; |