diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 21:19:01 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 21:19:01 +0100 |
commit | dc93b1e9b3e05dfd3e271aaccbee1210180a6906 (patch) | |
tree | 8a66c8087fb8cbcf14b0827b78a11ec0fb7b08ce /mwe/ecs-memory-efficient/inc/ContiguousContainer.hpp | |
parent | ace974504e410eb7d98ca021d75511d8f84b9bdc (diff) |
update clang-format and run `make format` over my (loek)s files
Diffstat (limited to 'mwe/ecs-memory-efficient/inc/ContiguousContainer.hpp')
-rw-r--r-- | mwe/ecs-memory-efficient/inc/ContiguousContainer.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mwe/ecs-memory-efficient/inc/ContiguousContainer.hpp b/mwe/ecs-memory-efficient/inc/ContiguousContainer.hpp index 408d5aa..ff8fde4 100644 --- a/mwe/ecs-memory-efficient/inc/ContiguousContainer.hpp +++ b/mwe/ecs-memory-efficient/inc/ContiguousContainer.hpp @@ -1,5 +1,6 @@ template <typename T> -ContiguousContainer<T>::ContiguousContainer() : mSize(0), mCapacity(10) { +ContiguousContainer<T>::ContiguousContainer() : mSize(0), + mCapacity(10) { // Allocate memory for 10 objects initially mData = static_cast<T *>(malloc(mCapacity * sizeof(T))); if (!mData) { |