From fc987b412385a3b10d58eabd516acc7ff3b27b11 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Fri, 2 Aug 2024 17:00:57 +0200 Subject: libstore: remove Goal::addWaitee Change-Id: I1b00d1a537d84790878cb0e81aaa1cbaa143d62d --- src/libstore/build/goal.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libstore/build/goal.cc') diff --git a/src/libstore/build/goal.cc b/src/libstore/build/goal.cc index f26c2c671..a4e66d989 100644 --- a/src/libstore/build/goal.cc +++ b/src/libstore/build/goal.cc @@ -11,13 +11,6 @@ bool CompareGoalPtrs::operator() (const GoalPtr & a, const GoalPtr & b) const { } -void Goal::addWaitee(GoalPtr waitee) -{ - waitees.insert(waitee); - waitee->waiters.insert(shared_from_this()); -} - - void Goal::trace(std::string_view s) { debug("%1%: %2%", name, s); -- cgit v1.2.3