From e727dbc3a3d59d7742a24a2b394b63a04ecb4d24 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Wed, 14 Aug 2024 12:55:12 +0200 Subject: [PATCH] libstore: un-enable_shared_from_this Goal it's no longer needed for anything, and not even a great idea. Change-Id: Ia7a59e1e3f9d8f4ad2ac3b054e38485157c210a6 --- src/libstore/build/goal.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;