summaryrefslogtreecommitdiffstats
path: root/src/graph.h
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2011-12-24 02:08:14 (GMT)
committerThiago Farina <tfarina@chromium.org>2011-12-24 02:08:14 (GMT)
commit8ae23cbc8258728192bd2aeaddc6b03b10dc9416 (patch)
tree9fa7e91b0a16cd783a3f1742a1c58ff5bc032e43 /src/graph.h
parentd89ddd6be801869aff1308f7c57398c072b776d6 (diff)
downloadNinja-8ae23cbc8258728192bd2aeaddc6b03b10dc9416.zip
Ninja-8ae23cbc8258728192bd2aeaddc6b03b10dc9416.tar.gz
Ninja-8ae23cbc8258728192bd2aeaddc6b03b10dc9416.tar.bz2
Follow up fix to commit 32bf74f (Fix the TODO in Rule class.)
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Diffstat (limited to 'src/graph.h')
-rw-r--r--src/graph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h
index fe102d2..b483c6d 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -105,6 +105,7 @@ struct Rule {
bool restat() const { return restat_; }
const EvalString& command() const { return command_; }
+ EvalString& command() { return command_; }
const EvalString& description() const { return description_; }
const EvalString& depfile() const { return depfile_; }