summaryrefslogtreecommitdiffstats
path: root/src/build.cc
diff options
context:
space:
mode:
authorRobert Iannucci <robbie@rail.com>2012-11-30 01:53:30 (GMT)
committerRobert Iannucci <robbie@rail.com>2012-11-30 01:53:30 (GMT)
commitc18b15da63e7d759ba9c1b89825c625ac42ee248 (patch)
tree67eeccdb48eb056ae3d901612b8f085d0ee4237d /src/build.cc
parent57086d5d99fa7e6e9415a84cd77358246a691a59 (diff)
downloadNinja-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.cc2
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 {