use 'replenish' for async_wrapper

This commit is contained in:
mutouyun 2019-10-05 03:54:17 +00:00
parent 56484c0c8f
commit 45bf1a7b38
2 changed files with 4 additions and 6 deletions

View File

@ -12,8 +12,6 @@
#include "platform/detail.h" #include "platform/detail.h"
#include "log.h"
namespace ipc { namespace ipc {
namespace mem { namespace mem {

View File

@ -224,10 +224,10 @@ private:
w_->recycler_.collect(std::move(*this)); w_->recycler_.collect(std::move(*this));
} }
// auto alloc(std::size_t size) { auto alloc(std::size_t size) {
// w_->recycler_.try_replenish(*this, size); w_->recycler_.try_replenish(*this, size);
// return AllocP::alloc(size); return AllocP::alloc(size);
// } }
}; };
friend class alloc_proxy; friend class alloc_proxy;