From bd379e1a464c51455cd4fb3f4fa90c7961bc2cb3 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 16 Oct 2021 16:54:08 +0300 Subject: [PATCH] Remove VMS workaround --- include/boost/container_hash/hash.hpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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); }