Skip to content

Commit 1891d44

Browse files
committed
I broke the pipeline
1 parent 1dad549 commit 1891d44

6 files changed

Lines changed: 130 additions & 121 deletions

File tree

ZEngine/ZEngine/Core/Containers/Array.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ namespace ZEngine::Core::Containers
2020
using iterator = T*;
2121
using const_iterator = const T*;
2222

23+
void init(Memory::ArenaAllocator* allocator, size_type initial_capacity, size_type initial_size)
24+
{
25+
m_allocator = allocator;
26+
m_size = initial_size;
27+
m_capacity = 0;
28+
m_data = nullptr;
29+
reserve(std::max(initial_capacity, initial_size));
30+
}
31+
2332
void init(Memory::ArenaAllocator* allocator, size_type initial_capacity)
2433
{
2534
m_allocator = allocator;

ZEngine/ZEngine/Hardwares/VulkanDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ using namespace ZEngine::Helpers;
2121
using namespace ZEngine::Rendering;
2222
using namespace ZEngine::Rendering::Buffers;
2323
using namespace ZEngine::Rendering::Specifications;
24-
using namespace ZEngine::Core::Container;
24+
using namespace ZEngine::Core::Containers;
2525

2626
namespace ZEngine::Hardwares
2727
{

0 commit comments

Comments
 (0)