mirror of
https://github.com/love2d/megasource.git
synced 2026-08-13 09:01:02 +02:00
16 lines
280 B
C++
16 lines
280 B
C++
|
|
#include "config.h"
|
|
|
|
#include "effectslot.h"
|
|
|
|
#include <cstddef>
|
|
|
|
#include "almalloc.h"
|
|
#include "context.h"
|
|
|
|
|
|
std::unique_ptr<EffectSlotArray> EffectSlot::CreatePtrArray(size_t count)
|
|
{
|
|
return std::unique_ptr<EffectSlotArray>{new(FamCount{count}) EffectSlotArray(count)};
|
|
}
|