Removed unused UnitsWaiting() function from State class.
authorThiago Farina <tfarina@chromium.org>
Tue, 19 Feb 2013 20:31:10 +0000 (17:31 -0300)
committerThiago Farina <tfarina@chromium.org>
Tue, 19 Feb 2013 20:31:45 +0000 (17:31 -0300)
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

index 326fbac..0a2e890 100644 (file)
@@ -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