diff --git a/folly/container/test/TrackingTypes.h b/folly/container/test/TrackingTypes.h index 49fcd7ddd7e5a797ece76515fc16270a45ef156c..366e85749abd802f91a10f14971f56ee3eac6746 100644 --- a/folly/container/test/TrackingTypes.h +++ b/folly/container/test/TrackingTypes.h @@ -288,7 +288,7 @@ inline size_t& testAllocationCount() { } inline size_t& testAllocationMaxCount() { - static thread_local size_t value{0}; + static thread_local size_t value{std::numeric_limits<std::size_t>::max()}; return value; }