You've already forked openal-soft
mirror of
https://github.com/OldUnreal/openal-soft.git
synced 2026-04-02 21:38:01 -07:00
Rather than hacking in the sorted array by assuming an equal length array after the end of the active array, include it as the back half of the array.
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)};
|
|
}
|