summaryrefslogtreecommitdiffstats
path: root/src/build_log.cc
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2012-06-30 14:40:10 (GMT)
committerThiago Farina <tfarina@chromium.org>2012-06-30 14:40:10 (GMT)
commit904c9610fe66c4f4bd63a07d6f057c8603d24394 (patch)
tree96af9eca55928821a4d604302485ab0b33798579 /src/build_log.cc
parent358eefbce2f62e8685b6797d395c06f4118b6e05 (diff)
downloadNinja-904c9610fe66c4f4bd63a07d6f057c8603d24394.zip
Ninja-904c9610fe66c4f4bd63a07d6f057c8603d24394.tar.gz
Ninja-904c9610fe66c4f4bd63a07d6f057c8603d24394.tar.bz2
Make StringPiece data members private.
Signed-off-by: Thiago Farina <tfarina@chromium.org>
Diffstat (limited to 'src/build_log.cc')
-rw-r--r--src/build_log.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build_log.cc b/src/build_log.cc
index 02a9fb5..0a44817 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()