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/hash_map.h | |
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/hash_map.h')
-rw-r--r-- | src/hash_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash_map.h b/src/hash_map.h index 88c2681..15e86da 100644 --- a/src/hash_map.h +++ b/src/hash_map.h @@ -86,7 +86,7 @@ struct hash<std::string> { template<> struct hash<StringPiece> { size_t operator()(StringPiece key) const { - return MurmurHash2(key.str_, key.len_); + return MurmurHash2(key.str(), key.len()); } }; |