Reverting normal cone introduction

This commit is contained in:
Dynamitos
2023-12-15 18:33:47 +01:00
parent e233fb9c5b
commit c409a3acd0
8 changed files with 53 additions and 56 deletions
+2 -2
View File
@@ -587,8 +587,8 @@ private:
deallocateArray(_data, arraySize);
_data = tempArray;
}
std::allocator_traits<allocator_type>::construct(allocator, &_data[arraySize++], std::forward<Type>(t));
return _data[arraySize - 1];
std::allocator_traits<allocator_type>::construct(allocator, &_data[arraySize], std::forward<Type>(t));
return _data[arraySize++];
}
template<typename Type>
void resizeInternal(size_type newSize, const Type& value) noexcept