Fix a bug... now chrome build works O_O
authorRobert Iannucci <robbie@rail.com>
Thu, 4 Oct 2012 23:50:24 +0000 (16:50 -0700)
committerRobert A Iannucci Jr <iannucci@chromium.org>
Fri, 9 Nov 2012 04:25:39 +0000 (20:25 -0800)
src/state.h

index e3137c4..349679a 100644 (file)
@@ -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.