cellcount counted correctly

This commit is contained in:
Zeno Rogue
2019-02-06 18:48:52 +01:00
parent b0b783b581
commit 3317e95bfb
+2 -1
View File
@@ -432,7 +432,8 @@ template<class T> T* tailored_alloc(int degree) {
return result; return result;
} }
void inline tailored_delete(void *x) { template<class T> void tailored_delete(T* x) {
x->~T();
delete[] ((char*) (x)); delete[] ((char*) (x));
} }