summaryrefslogtreecommitdiffstats
path: root/src/graph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph.cc')
-rw-r--r--src/graph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph.cc b/src/graph.cc
index 1d6d8c7..3531e86 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -177,7 +177,7 @@ bool Edge::AllInputsReady() const {
/// An Env for an Edge, providing $in and $out.
struct EdgeEnv : public Env {
- EdgeEnv(Edge* edge) : edge_(edge) {}
+ explicit EdgeEnv(Edge* edge) : edge_(edge) {}
virtual string LookupVariable(const string& var);
/// Given a span of Nodes, construct a list of paths suitable for a command