mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-08-16 23:10:31 +03:00
roll back util/pool.hh. Not using it anymore
This commit is contained in:
parent
9a68ff8da4
commit
e5a5dd6379
@ -25,12 +25,6 @@ class Pool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
|
||||||
T *Allocate(size_t num = 1) {
|
|
||||||
void *ret = Allocate(sizeof(T) * num);
|
|
||||||
return (T*) ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
void FreeAll();
|
void FreeAll();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user