diff options
author | Evan Martin <martine@danga.com> | 2011-12-07 17:43:29 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-12-07 17:46:19 (GMT) |
commit | 2863acbe2a3ab11c0a6d5efa93c0491cac63d72a (patch) | |
tree | 47f16ec855905ca14a88615a38223508fc0e6ddc /src/graphviz.cc | |
parent | 63d136fb891f365b551621220ce3dd1022c14182 (diff) | |
download | Ninja-2863acbe2a3ab11c0a6d5efa93c0491cac63d72a.zip Ninja-2863acbe2a3ab11c0a6d5efa93c0491cac63d72a.tar.gz Ninja-2863acbe2a3ab11c0a6d5efa93c0491cac63d72a.tar.bz2 |
make Rule::name_ private
Diffstat (limited to 'src/graphviz.cc')
-rw-r--r-- | src/graphviz.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphviz.cc b/src/graphviz.cc index d5dbcd0..3dfa716 100644 --- a/src/graphviz.cc +++ b/src/graphviz.cc @@ -38,10 +38,10 @@ void GraphViz::AddTarget(Node* node) { // Note extra space before label text -- this is cosmetic and feels // like a graphviz bug. printf("\"%p\" -> \"%p\" [label=\" %s\"]\n", - edge->inputs_[0], edge->outputs_[0], edge->rule_->name_.c_str()); + edge->inputs_[0], edge->outputs_[0], edge->rule_->name().c_str()); } else { printf("\"%p\" [label=\"%s\", shape=ellipse]\n", - edge, edge->rule_->name_.c_str()); + edge, edge->rule_->name().c_str()); for (vector<Node*>::iterator out = edge->outputs_.begin(); out != edge->outputs_.end(); ++out) { printf("\"%p\" -> \"%p\"\n", edge, *out); |