diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-23 23:13:57 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-23 23:13:57 +0300 |
commit | 013a2b092c87b755e773641ed24458d6fc73f87e (patch) | |
tree | dce81616e53b64b563e3bcee2dca2e1fea080013 /util | |
parent | fb25bf619685d98fe97a3493486488d607efda87 (diff) |
allocate size of class temlate fn
Diffstat (limited to 'util')
-rw-r--r-- | util/pool.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/util/pool.hh b/util/pool.hh index 962acb33a..771dff8af 100644 --- a/util/pool.hh +++ b/util/pool.hh @@ -25,13 +25,11 @@ class Pool { } } - /* template<typename T> void *Allocate() { void *ret = Allocate(sizeof(T)); return ret; } - */ void FreeAll(); |