summaryrefslogtreecommitdiffstats
path: root/src/state.cc
diff options
context:
space:
mode:
authorRobert Iannucci <robbie@rail.com>2013-03-23 21:31:05 (GMT)
committerRobert Iannucci <robbie@rail.com>2013-03-23 21:31:05 (GMT)
commitf31836a18621a5477ae6888d832afb96f1a56f52 (patch)
treeb893cbdc1932c9b2cd3de443e9afe56be785d753 /src/state.cc
parent8e70a53058a74d3582c609fd9f7c133dae7387b4 (diff)
downloadNinja-f31836a18621a5477ae6888d832afb96f1a56f52.zip
Ninja-f31836a18621a5477ae6888d832afb96f1a56f52.tar.gz
Ninja-f31836a18621a5477ae6888d832afb96f1a56f52.tar.bz2
Fix debug build on linux (type strictness).
Diffstat (limited to 'src/state.cc')
-rw-r--r--src/state.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.cc b/src/state.cc
index cd43e0d..9f46fee 100644
--- a/src/state.cc
+++ b/src/state.cc
@@ -39,7 +39,7 @@ void Pool::DelayEdge(Edge* edge) {
}
void Pool::RetrieveReadyEdges(set<Edge*>* ready_queue) {
- set<Edge*>::iterator it = delayed_.begin();
+ DelayedEdges::iterator it = delayed_.begin();
while (it != delayed_.end()) {
Edge* edge = *it;
if (current_use_ + edge->weight() > depth_)
@@ -53,7 +53,7 @@ void Pool::RetrieveReadyEdges(set<Edge*>* ready_queue) {
void Pool::Dump() const {
printf("%s (%d/%d) ->\n", name_.c_str(), current_use_, depth_);
- for (set<Edge*>::const_iterator it = delayed_.begin();
+ for (DelayedEdges::const_iterator it = delayed_.begin();
it != delayed_.end(); ++it)
{
printf("\t");