forked from boostorg/container_hash
Add support for long long on win64 as that's the only 64-bit type on that platform (and std::size_t is 64 bit).
[SVN r34287]
This commit is contained in:
1 parent
3b947c29de
commit
8eb8ad993a
1 file changed
+7
-2
@@ -116,8 +116,13 @@ namespace boost
|
||||
return static_cast<std::size_t>(v);
|
||||
}
|
||||
|
||||
#if defined(BOOST_MSVC) && defined(_WIN64)
|
||||
inline std::size_t hash_value(std::size_t v)
|
||||
#if defined(_M_X64) && defined(_WIN64)
|
||||
inline std::size_t hash_value(long long v)
|
||||
{
|
||||
return v;
|
||||
}
|
||||
|
||||
inline std::size_t hash_value(unsigned long long v)
|
||||
{
|
||||
return v;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user