diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-07-28 16:56:59 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-07-28 16:56:59 (GMT) |
commit | 957a801ace27426f3ceb544449f882dba1924161 (patch) | |
tree | 6a212b102467312452e89dc5472c2e4230f1cbc6 /src/build_log.cc | |
parent | 3ab35e5403066f48117f442f9ba8853e70edab13 (diff) | |
download | Ninja-957a801ace27426f3ceb544449f882dba1924161.zip Ninja-957a801ace27426f3ceb544449f882dba1924161.tar.gz Ninja-957a801ace27426f3ceb544449f882dba1924161.tar.bz2 |
Revert "Make StringPiece data members private."
This reverts commit 904c9610fe66c4f4bd63a07d6f057c8603d24394.
The commit caused issue #380, this revert fixes it. The revert
also makes the test from the previous commit pass.
Diffstat (limited to 'src/build_log.cc')
-rw-r--r-- | src/build_log.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_log.cc b/src/build_log.cc index c35b0e4..1b27be3 100644 --- a/src/build_log.cc +++ b/src/build_log.cc @@ -80,7 +80,7 @@ uint64_t MurmurHash64A(const void* key, int len) { h *= m; h ^= h >> r; return h; -} +} #undef BIG_CONSTANT @@ -88,7 +88,7 @@ uint64_t MurmurHash64A(const void* key, int len) { // static uint64_t BuildLog::LogEntry::HashCommand(StringPiece command) { - return MurmurHash64A(command.str(), command.len()); + return MurmurHash64A(command.str_, command.len_); } BuildLog::BuildLog() |