summaryrefslogtreecommitdiffstats
path: root/src/graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.h')
-rw-r--r--src/graph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h
index a35ab65..9e924f7 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -174,6 +174,8 @@ struct Edge {
bool outputs_ready_;
const Rule& rule() const { return *rule_; }
+ Pool& pool() const { return *pool_; }
+ int weight() const { return 1; }
bool outputs_ready() const { return outputs_ready_; }
// XXX There are three types of inputs.