mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
Kernel: Add placement new[] operator
This commit is contained in:
parent
4b16ac0034
commit
bf8dacf0c1
|
@ -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…
Reference in a new issue