mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
fix windows build again
This commit is contained in:
parent
263c0e3b57
commit
d3e73be3fe
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ namespace util {
|
||||||
void allocateNew() {
|
void allocateNew() {
|
||||||
std::unique_ptr<void, AlignedDeleter> ptr(
|
std::unique_ptr<void, AlignedDeleter> ptr(
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
_aligned_malloc(sizeof(T), alignof(T));
|
_aligned_malloc(sizeof(T), alignof(T))
|
||||||
#else
|
#else
|
||||||
std::aligned_alloc(alignof(T), sizeof(T))
|
std::aligned_alloc(alignof(T), sizeof(T))
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue