Add some more docs

This commit is contained in:
John Ericson 2020-10-13 18:04:24 +00:00
parent 13804f126e
commit 55592b253f

View file

@ -11,6 +11,11 @@ namespace nix {
class DerivationGoal; class DerivationGoal;
class SubstitutionGoal; 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); GoalPtr upcast_goal(std::shared_ptr<SubstitutionGoal> subGoal);
typedef std::chrono::time_point<std::chrono::steady_clock> steady_time_point; typedef std::chrono::time_point<std::chrono::steady_clock> steady_time_point;