repo.or.cz
/
openal-soft.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Enable proper full C++ exception handling on MSVC
[openal-soft.git]
/
core
/
effectslot.cpp
blob
d07c79a546a0a79cff52279ad673fdfe397082fb
1
2
#include
"config.h"
3
4
#include
"effectslot.h"
5
6
#include <cstddef>
7
8
#include
"almalloc.h"
9
#include
"context.h"
10
11
12
std
::
unique_ptr
<
EffectSlotArray
>
EffectSlot
::
CreatePtrArray
(
size_t
count
)
13
{
14
return
std
::
unique_ptr
<
EffectSlotArray
>{
new
(
FamCount
{
count
})
EffectSlotArray
(
count
)};
15
}