diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index 6e7c1c626..a741b2672 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -148,6 +148,11 @@ private: */ void wakeUp(GoalPtr goal); + /** + * Wait for input to become available. + */ + void waitForInput(); + public: const Activity act; @@ -252,11 +257,6 @@ public: */ void run(const Goals & topGoals); - /** - * Wait for input to become available. - */ - void waitForInput(); - /*** * The exit status in case of failure. *