diff --git a/include/ircd/allocator.h b/include/ircd/allocator.h index 0944440c5..9dca9066a 100644 --- a/include/ircd/allocator.h +++ b/include/ircd/allocator.h @@ -252,7 +252,7 @@ template::allocator ircd::allocator::fixed::operator()() { - return { *this }; + return ircd::allocator::fixed::allocator(*this); } template::operator allocator() { - return { *this }; + return ircd::allocator::fixed::allocator(*this); } /// The dynamic allocator provides a pool of a fixed size known at runtime. @@ -368,14 +368,14 @@ template typename ircd::allocator::dynamic::allocator ircd::allocator::dynamic::operator()() { - return { *this }; + return ircd::allocator::dynamic::allocator(*this); } template ircd::allocator::dynamic::operator allocator() { - return { *this }; + return ircd::allocator::dynamic::allocator(*this); } /// Allows elements of an STL container to be manually handled by the user.