summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2013-02-19 20:31:10 (GMT)
committerThiago Farina <tfarina@chromium.org>2013-02-19 20:31:45 (GMT)
commit855f4eb641c1f5d5dc1414d537ae7b23b91e6537 (patch)
tree71f250a2f2200f9fdde0b5281d2c2c4e6f5f8204 /src/state.h
parent52ae6ddb18c02fd06535574c265f4acc5b97dd4a (diff)
downloadNinja-855f4eb641c1f5d5dc1414d537ae7b23b91e6537.zip
Ninja-855f4eb641c1f5d5dc1414d537ae7b23b91e6537.tar.gz
Ninja-855f4eb641c1f5d5dc1414d537ae7b23b91e6537.tar.bz2
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>
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h4
1 files changed, 1 insertions, 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