1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

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

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