diff --git a/src/libstore/build/goal.hh b/src/libstore/build/goal.hh index 2ac96ace1..9a089d091 100644 --- a/src/libstore/build/goal.hh +++ b/src/libstore/build/goal.hh @@ -51,7 +51,7 @@ enum struct JobCategory { Substitution, }; -struct Goal : public std::enable_shared_from_this +struct Goal { typedef enum {ecSuccess, ecFailed, ecNoSubstituters, ecIncompleteClosure} ExitCode;