Separating declaration and definition of RefPtr

This commit is contained in:
HOEGLER Stefan
2020-03-08 13:38:40 +01:00
parent df3ed3c49e
commit 9bff657419
14 changed files with 1940 additions and 34 deletions
+1
View File
@@ -17,6 +17,7 @@ namespace Seele
, arraySize(0)
{
_data = (T*)malloc(DEFAULT_ALLOC_SIZE * sizeof(T));
assert(_data != nullptr);
memset(_data, 0, sizeof(T) * DEFAULT_ALLOC_SIZE);
refreshIterators();
}