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:
parent
4b16ac0034
commit
bf8dacf0c1
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue