We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f5288 commit b8e9997Copy full SHA for b8e9997
ortools/constraint_solver/model_cache.h
@@ -50,7 +50,7 @@ inline uint64_t Hash1(int64_t value) {
50
inline uint64_t Hash1(int value) { return Hash1(static_cast<uint32_t>(value)); }
51
52
inline uint64_t Hash1(void* const ptr) {
53
-#if defined(__x86_64__) || defined(_M_X64) || defined(__powerpc64__) || \
+#if defined(__x86_64__) || defined(_M_X64) || defined(__powerpc64__) || \
54
defined(__aarch64__) || (defined(_MIPS_SZPTR) && (_MIPS_SZPTR == 64)) || \
55
(defined(INTPTR_MAX) && defined(INT64_MAX) && (INTPTR_MAX == INT64_MAX))
56
return Hash1(reinterpret_cast<uint64_t>(ptr));
0 commit comments