Add element construction/destruction hooks to IndexedMemPool
[folly.git] / folly / experimental / flat_combining / FlatCombining.h
index 3c951eccb091ae0b8316b3e70a56813d533b61e7..146f1748bd02af13789117d4c2a689f58f2ed72b 100644 (file)
@@ -225,7 +225,8 @@ class FlatCombining {
     }
   };
 
-  using Pool = folly::IndexedMemPool<Rec, 32, 4, Atom, false, false>;
+  using Pool = folly::
+      IndexedMemPool<Rec, 32, 4, Atom, IndexedMemPoolTraitsLazyRecycle<Rec>>;
 
  public:
   /// The constructor takes three optional arguments: