diff options
Diffstat (limited to 'src/oldpool.h')
-rw-r--r-- | src/oldpool.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/oldpool.h b/src/oldpool.h index e8081fa82..1581cfc98 100644 --- a/src/oldpool.h +++ b/src/oldpool.h @@ -294,16 +294,7 @@ protected: } public: - /** - * Check whether we can allocate an item in this pool. This to prevent the - * need to actually construct the object and then destructing it again, - * which could be *very* costly. - * @return true if and only if at least ONE item can be allocated. - */ - static inline bool CanAllocateItem() - { - return AllocateRaw() != NULL; - } + static bool CanAllocateItem(); }; |