diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-10-31 01:56:20 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-10-31 01:56:20 +0400 |
commit | deb694fb7c9479093d8049d4a0f9dd155394fa1c (patch) | |
tree | 45dcc3b834817762bd1db07ca799d0027142bc82 /util/string_piece.hh | |
parent | dc31857bbccbaebe1a0ea2ecac349259dc2340b7 (diff) |
minor compile error on macosx. size_t != uint64_t
Diffstat (limited to 'util/string_piece.hh')
-rw-r--r-- | util/string_piece.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/string_piece.hh b/util/string_piece.hh index ff18744bc..6662277db 100644 --- a/util/string_piece.hh +++ b/util/string_piece.hh @@ -258,7 +258,7 @@ inline std::ostream& operator<<(std::ostream& o, const StringPiece& piece) { #ifdef HAVE_BOOST inline size_t hash_value(const StringPiece &str) { - return boost::hash_range(str.data(), str.data() + str.length()); + return boost::hash_range(str.data(), str.data() + str.length()); } /* Support for lookup of StringPiece in boost::unordered_map<std::string> */ |