Commit 878260ee authored by Xiang Li's avatar Xiang Li

use uint64_t instead of size_t to make sure 64-bit return value (Mv hash was missed)

parent 380b702f
......@@ -269,9 +269,9 @@ public:
namespace std
template <>
struct hash<Mv> : public unary_function<Mv, size_t>
struct hash<Mv> : public unary_function<Mv, uint64_t>
size_t operator()(const Mv& value) const
uint64_t operator()(const Mv& value) const
return (((uint64_t)value.hor << 32) + value.ver);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment