Kernel: Add placement new[] operator

This commit is contained in:
Sergey Bugaev 2020-02-18 11:42:49 +03:00 committed by Andreas Kling
parent 4b16ac0034
commit bf8dacf0c1
Notes: sideshowbarker 2024-07-19 09:15:07 +09:00

View file

@ -84,6 +84,11 @@ inline void* operator new(size_t, void* ptr)
{
return ptr;
}
inline void* operator new[](size_t, void* ptr)
{
return ptr;
}
# endif
#endif