cellcount counted correctly

This commit is contained in:
Zeno Rogue 2019-01-18 21:04:39 +01:00
parent b0b783b581
commit 3317e95bfb
1 changed files with 2 additions and 1 deletions

View File

@ -432,7 +432,8 @@ template<class T> T* tailored_alloc(int degree) {
return result;
}
void inline tailored_delete(void *x) {
template<class T> void tailored_delete(T* x) {
x->~T();
delete[] ((char*) (x));
}