Internal change
PiperOrigin-RevId: 492276913
This commit is contained in:
parent
1e2cb2b359
commit
40eb0e6385
|
@ -59,6 +59,8 @@ class MultiPool {
|
||||||
MultiPool(SimplePoolFactory factory = DefaultMakeSimplePool,
|
MultiPool(SimplePoolFactory factory = DefaultMakeSimplePool,
|
||||||
MultiPoolOptions options = kDefaultMultiPoolOptions)
|
MultiPoolOptions options = kDefaultMultiPoolOptions)
|
||||||
: create_simple_pool_(factory), options_(options) {}
|
: create_simple_pool_(factory), options_(options) {}
|
||||||
|
explicit MultiPool(MultiPoolOptions options)
|
||||||
|
: MultiPool(DefaultMakeSimplePool, options) {}
|
||||||
|
|
||||||
// Obtains an item. May either be reused or created anew.
|
// Obtains an item. May either be reused or created anew.
|
||||||
Item Get(const Spec& spec);
|
Item Get(const Spec& spec);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user