diff --git a/include/boost/container_hash/hash.hpp b/include/boost/container_hash/hash.hpp index 5fa8e2e..a2b2759 100644 --- a/include/boost/container_hash/hash.hpp +++ b/include/boost/container_hash/hash.hpp @@ -331,15 +331,8 @@ namespace boost // Implementation by Alberto Barbati and Dave Harris. template std::size_t hash_value(T* const& v) { -#if defined(__VMS) && __INITIAL_POINTER_SIZE == 64 - // for some reason ptrdiff_t on OpenVMS compiler with - // 64 bit is not 64 bit !!! std::size_t x = static_cast( - reinterpret_cast(v)); -#else - std::size_t x = static_cast( - reinterpret_cast(v)); -#endif + reinterpret_cast(v)); return x + (x >> 3); }