summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.