Separating declaration and definition of RefPtr

This commit is contained in:
HOEGLER Stefan committed 2020-03-08 13:38:40 +01:00
1 parent df3ed3c49e
commit 9bff657419
14 files changed
+1940 -34

No files matched your search

+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();
}