From 855f4eb641c1f5d5dc1414d537ae7b23b91e6537 Mon Sep 17 00:00:00 2001 From: Thiago Farina <tfarina@chromium.org> Date: Tue, 19 Feb 2013 17:31:10 -0300 Subject: Removed unused UnitsWaiting() function from State class. This function was added at 307f0bbd("and some basic implementation"), but nobody calls it anymore. Signed-off-by: Thiago Farina <tfarina@chromium.org> --- src/state.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/state.h b/src/state.h index 326fbac..0a2e890 100644 --- a/src/state.h +++ b/src/state.h @@ -66,9 +66,7 @@ struct Pool { /// Dump the Pool and its edges (useful for debugging). void Dump() const; -private: - int UnitsWaiting() { return delayed_.size(); } - + private: string name_; /// |current_use_| is the total of the weights of the edges which are -- cgit v0.12