diff --git a/include/sta/Hash.hh b/include/sta/Hash.hh index 5cfd423d..579b31ca 100644 --- a/include/sta/Hash.hh +++ b/include/sta/Hash.hh @@ -25,7 +25,6 @@ #pragma once #include -#include #include namespace sta { @@ -59,12 +58,4 @@ nextMersenne(size_t n) size_t hashString(std::string_view str); -// Pointer hashing is strongly discouraged because it causes results to change -// from run to run. Use Network::id functions instead. -#if __WORDSIZE == 64 - #define hashPtr(ptr) (reinterpret_cast(ptr) >> 3) -#else - #define hashPtr(ptr) (reinterpret_cast(ptr) >> 2) -#endif - } // namespace sta