diff options
author | Robert Iannucci <robbie@rail.com> | 2012-11-30 01:53:30 (GMT) |
---|---|---|
committer | Robert Iannucci <robbie@rail.com> | 2012-11-30 01:53:30 (GMT) |
commit | c18b15da63e7d759ba9c1b89825c625ac42ee248 (patch) | |
tree | 67eeccdb48eb056ae3d901612b8f085d0ee4237d /src/state.h | |
parent | 57086d5d99fa7e6e9415a84cd77358246a691a59 (diff) | |
download | Ninja-c18b15da63e7d759ba9c1b89825c625ac42ee248.zip Ninja-c18b15da63e7d759ba9c1b89825c625ac42ee248.tar.gz Ninja-c18b15da63e7d759ba9c1b89825c625ac42ee248.tar.bz2 |
Remove unnecessary parameter from ShouldDelayEdge
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.h b/src/state.h index f1cc4c7..918fe09 100644 --- a/src/state.h +++ b/src/state.h @@ -47,7 +47,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 { 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. |