about summary refs log tree commit diff
path: root/absl/container/internal/hash_policy_testing.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/container/internal/hash_policy_testing.h')
-rw-r--r--absl/container/internal/hash_policy_testing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/container/internal/hash_policy_testing.h b/absl/container/internal/hash_policy_testing.h
index ffc76ead7a68..38bbec77a2ed 100644
--- a/absl/container/internal/hash_policy_testing.h
+++ b/absl/container/internal/hash_policy_testing.h
@@ -139,7 +139,7 @@ struct Alloc : std::allocator<T> {
   friend bool operator!=(const Alloc& a, const Alloc& b) { return !(a == b); }
 
  private:
-  size_t id_ = std::numeric_limits<size_t>::max();
+  size_t id_ = (std::numeric_limits<size_t>::max)();
 };
 
 template <class Map>