mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
allocate size of class temlate fn
This commit is contained in:
parent
fb25bf6196
commit
013a2b092c
@ -25,13 +25,11 @@ class Pool {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
template<typename T>
|
||||
void *Allocate() {
|
||||
void *ret = Allocate(sizeof(T));
|
||||
return ret;
|
||||
}
|
||||
*/
|
||||
|
||||
void FreeAll();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user