mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Auto-commit objpool.hpp
This commit is contained in:
parent
2fb813a4cd
commit
16ca3dec76
1 changed files with 3 additions and 0 deletions
|
|
@ -214,6 +214,9 @@ private:
|
|||
static_cast<void*>(node) :
|
||||
_allocator.allocate(size_, alignof(T)));
|
||||
|
||||
if(not mem)
|
||||
return nullptr;
|
||||
|
||||
try
|
||||
{
|
||||
return new(mem) T(std::forward<Args>(args_)...);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue