File tree 1 file changed +4
-2
lines changed 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,10 @@ JPH_EXPORT void RegisterDefaultAllocator();
37
37
JPH_INLINE void operator delete (void *inPointer, [[maybe_unused]] std::align_val_t inAlignment) noexcept { JPH::AlignedFree (inPointer); } \
38
38
JPH_INLINE void *operator new [] (size_t inCount, std::align_val_t inAlignment) { return JPH::AlignedAllocate (inCount, static_cast <size_t >(inAlignment)); } \
39
39
JPH_INLINE void operator delete[] (void *inPointer, [[maybe_unused]] std::align_val_t inAlignment) noexcept { JPH::AlignedFree (inPointer); } \
40
- JPH_INLINE void *operator new ([[maybe_unused]] size_t inSize, void *inPointer) noexcept { return inPointer; } \
41
- JPH_INLINE void *operator new [] ([[maybe_unused]] size_t inSize, void *inPointer) noexcept { return inPointer; }
40
+ JPH_INLINE void *operator new ([[maybe_unused]] size_t inCount, void *inPointer) noexcept { return inPointer; } \
41
+ JPH_INLINE void operator delete ([[maybe_unused]] void *inPointer, [[maybe_unused]] void *inPlace) noexcept { /* Do nothing */ } \
42
+ JPH_INLINE void *operator new [] ([[maybe_unused]] size_t inCount, void *inPointer) noexcept { return inPointer; } \
43
+ JPH_INLINE void operator delete[] ([[maybe_unused]] void *inPointer, [[maybe_unused]] void *inPlace) noexcept { /* Do nothing */ }
42
44
43
45
#else
44
46
You can’t perform that action at this time.
0 commit comments