aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-13 18:04:24 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-10-13 18:04:24 +0000
commit55592b253f3dddb121c1072ca584e95c37729b6d (patch)
treeb49483dc7119996f6541403db744bcb634b886c1 /src/libstore
parent13804f126e62b308c8f748133114d05e315ba15b (diff)
Add some more docs
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build/worker.hh5
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;