Using indices instead of pointers

This commit is contained in:
Dynamitos
2021-11-04 23:47:51 +01:00
parent ca8070ef71
commit 97dcf25a59
2 changed files with 114 additions and 77 deletions
+1 -1
View File
@@ -401,7 +401,7 @@ namespace Seele
}
void pop()
{
_data[arraySize--].~T();
_data[--arraySize].~T();
markIteratorDirty();
}
constexpr inline reference operator[](size_type index)