From e5a5dd637976081c5f9482a38724f44392bb260a Mon Sep 17 00:00:00 2001 From: Hieu Hoang Date: Thu, 29 Oct 2015 19:07:29 +0000 Subject: [PATCH] roll back util/pool.hh. Not using it anymore --- util/pool.hh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/util/pool.hh b/util/pool.hh index 652562af3..511b6d995 100644 --- a/util/pool.hh +++ b/util/pool.hh @@ -25,12 +25,6 @@ class Pool { } } - template - T *Allocate(size_t num = 1) { - void *ret = Allocate(sizeof(T) * num); - return (T*) ret; - } - void FreeAll(); private: