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/build.cc | |
parent | 57086d5d99fa7e6e9415a84cd77358246a691a59 (diff) | |
download | Ninja-c18b15da63e7d759ba9c1b89825c625ac42ee248.zip Ninja-c18b15da63e7d759ba9c1b89825c625ac42ee248.tar.gz Ninja-c18b15da63e7d759ba9c1b89825c625ac42ee248.tar.bz2 |
Remove unnecessary parameter from ShouldDelayEdge
Diffstat (limited to 'src/build.cc')
-rw-r--r-- | src/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.cc b/src/build.cc index eacac50..93ab10d 100644 --- a/src/build.cc +++ b/src/build.cc @@ -410,7 +410,7 @@ Edge* Plan::FindWork() { void Plan::ScheduleWork(Edge* edge) { Pool* pool = edge->pool(); - if (pool->ShouldDelayEdge(*edge)) { + if (pool->ShouldDelayEdge()) { pool->DelayEdge(edge); pool->RetrieveReadyEdges(&ready_); } else { |