summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2013-02-24 17:50:56 (GMT)
committerEvan Martin <martine@danga.com>2013-02-24 17:50:56 (GMT)
commit45e7d32e4c07aa198392235db8d2c1658dd4e4d9 (patch)
treea7947359dfec26219e658b3764693f71b44c15d0 /src
parentb26d21753cb56436782f421de80cbcd57bd03316 (diff)
parent855f4eb641c1f5d5dc1414d537ae7b23b91e6537 (diff)
downloadNinja-45e7d32e4c07aa198392235db8d2c1658dd4e4d9.zip
Ninja-45e7d32e4c07aa198392235db8d2c1658dd4e4d9.tar.gz
Ninja-45e7d32e4c07aa198392235db8d2c1658dd4e4d9.tar.bz2
Merge pull request #502 from tfarina/rm-unused-fun
Removed unused UnitsWaiting() function from State class.
Diffstat (limited to 'src')
-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