From b66fd9ff4b8963d1ac10db23037aab1acba875cb Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sun, 11 Aug 2024 01:37:40 +0200 Subject: [PATCH] libstore: make Worker::removeGoal private Change-Id: I8583d9ff752f702a10ec52b0330b0d4d4d2614fa --- src/libstore/build/worker.hh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index a741b2672..e21e91385 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -153,6 +153,11 @@ private: */ void waitForInput(); + /** + * Remove a dead goal. + */ + void removeGoal(GoalPtr goal); + public: const Activity act; @@ -224,11 +229,6 @@ public: */ GoalPtr makeGoal(const DerivedPath & req, BuildMode buildMode = bmNormal); - /** - * Remove a dead goal. - */ - void removeGoal(GoalPtr goal); - /** * Return the number of local build processes currently running (but not * remote builds via the build hook).