diff --git a/folly/synchronization/HazptrDomain.h b/folly/synchronization/HazptrDomain.h index 15c1a8817a7..e6fda665f08 100644 --- a/folly/synchronization/HazptrDomain.h +++ b/folly/synchronization/HazptrDomain.h @@ -17,10 +17,10 @@ #pragma once #include -#include #include #include +#include #include #include #include @@ -99,7 +99,7 @@ class hazptr_domain { using List = hazptr_detail::linked_list; using ObjList = hazptr_obj_list; using RetiredList = hazptr_detail::shared_head_only_list; - using Set = std::unordered_set; + using Set = folly::F14FastSet; using ExecFn = folly::Executor* (*)(); static constexpr int kThreshold = detail::hazptr_domain_rcount_threshold();