From b33c96951915ca702632b1d73dc6331f77d2bbea Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Fri, 2 Aug 2024 17:00:57 +0200 Subject: libstore: make Worker::waitForBuildSlot private Change-Id: I02a54846cd65622edbd7a1d6c24a623b4a59e5b3 --- src/libstore/build/goal.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libstore/build/goal.hh') diff --git a/src/libstore/build/goal.hh b/src/libstore/build/goal.hh index dd29b9fc4..bf3677bb2 100644 --- a/src/libstore/build/goal.hh +++ b/src/libstore/build/goal.hh @@ -106,12 +106,13 @@ struct Goal : public std::enable_shared_from_this public: struct [[nodiscard]] StillAlive {}; + struct [[nodiscard]] WaitForSlot {}; struct [[nodiscard]] Finished { ExitCode result; std::unique_ptr ex; }; - struct [[nodiscard]] WorkResult : std::variant + struct [[nodiscard]] WorkResult : std::variant { WorkResult() = delete; using variant::variant; -- cgit v1.2.3