Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <fishandfrolick@gmail.com>2012-10-31 01:56:20 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-10-31 01:56:20 +0400
commitdeb694fb7c9479093d8049d4a0f9dd155394fa1c (patch)
tree45dcc3b834817762bd1db07ca799d0027142bc82 /util/string_piece.hh
parentdc31857bbccbaebe1a0ea2ecac349259dc2340b7 (diff)
minor compile error on macosx. size_t != uint64_t
Diffstat (limited to 'util/string_piece.hh')
-rw-r--r--util/string_piece.hh2
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> */