diff options
author | Evan Martin <martine@danga.com> | 2012-07-27 19:39:02 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-07-27 19:39:02 (GMT) |
commit | 1ca513e30ed64a861a293e9cb4b711cf70871540 (patch) | |
tree | b8b61cdaa4b65d3c3b79c4488620688182ead4a4 /src/eval_env.cc | |
parent | f7a22e3bc97fdeb87d930b7734680c481c6010bf (diff) | |
parent | 904c9610fe66c4f4bd63a07d6f057c8603d24394 (diff) | |
download | Ninja-1ca513e30ed64a861a293e9cb4b711cf70871540.zip Ninja-1ca513e30ed64a861a293e9cb4b711cf70871540.tar.gz Ninja-1ca513e30ed64a861a293e9cb4b711cf70871540.tar.bz2 |
Merge pull request #352 from tfarina/string-piece-private
Make StringPiece data members private.
Diffstat (limited to 'src/eval_env.cc')
-rw-r--r-- | src/eval_env.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval_env.cc b/src/eval_env.cc index 81a8765..793ea64 100644 --- a/src/eval_env.cc +++ b/src/eval_env.cc @@ -41,7 +41,7 @@ string EvalString::Evaluate(Env* env) const { void EvalString::AddText(StringPiece text) { // Add it to the end of an existing RAW token if possible. if (!parsed_.empty() && parsed_.back().second == RAW) { - parsed_.back().first.append(text.str_, text.len_); + parsed_.back().first.append(text.str(), text.len()); } else { parsed_.push_back(make_pair(text.AsString(), RAW)); } |