jamesge commented on code in PR #2149:
URL: https://github.com/apache/brpc/pull/2149#discussion_r1130561038


##########
src/butil/containers/flat_map.h:
##########
@@ -279,26 +283,31 @@ template <typename _Map, typename _Element> friend class 
SparseFlatMapIterator;
     u_int _load_factor;
     hasher _hashfn;
     key_equal _eql;
-    SingleThreadedPool<sizeof(Bucket), 1024, 16> _pool;
+    allocator_type _allocator;

Review Comment:
   这个可以直接用_pool中的?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to