Loading libs/ui/include/ui/FatVector.h +6 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,12 @@ public: this->reserve(SIZE); } FatVector(std::initializer_list<T> init) : std::vector<T, InlineStdAllocator<T, SIZE>>(init, InlineStdAllocator<T, SIZE>(mAllocation)) { this->reserve(SIZE); } explicit FatVector(size_t capacity) : FatVector() { this->resize(capacity); } private: Loading Loading
libs/ui/include/ui/FatVector.h +6 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,12 @@ public: this->reserve(SIZE); } FatVector(std::initializer_list<T> init) : std::vector<T, InlineStdAllocator<T, SIZE>>(init, InlineStdAllocator<T, SIZE>(mAllocation)) { this->reserve(SIZE); } explicit FatVector(size_t capacity) : FatVector() { this->resize(capacity); } private: Loading