summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorRobert Iannucci <robbie@rail.com>2012-10-04 23:50:24 (GMT)
committerRobert A Iannucci Jr <iannucci@chromium.org>2012-11-09 04:25:39 (GMT)
commit09515ebc7fbf0aa9b8d037f6c43a2e95b2899f4a (patch)
tree618295cf318633b0a6212494a7a981f972b85474 /src/state.h
parent307f0bbd13d881cc2883c3e5f7f385b8f7914480 (diff)
downloadNinja-09515ebc7fbf0aa9b8d037f6c43a2e95b2899f4a.zip
Ninja-09515ebc7fbf0aa9b8d037f6c43a2e95b2899f4a.tar.gz
Ninja-09515ebc7fbf0aa9b8d037f6c43a2e95b2899f4a.tar.bz2
Fix a bug... now chrome build works O_O
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h
index e3137c4..349679a 100644
--- a/src/state.h
+++ b/src/state.h
@@ -40,7 +40,7 @@ struct Pool {
const string& name() const { return name_; }
/// true if the Pool might delay this edge
- bool ShouldDelayEdge(const Edge& edge) const { return depth_ == 0; }
+ bool ShouldDelayEdge(const Edge& edge) const { return depth_ != 0; }
/// informs this Pool that the given edge is committed to be run.
/// Pool will count this edge as using resources from this pool.