mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Kernel: Add placement new[] operator
This commit is contained in:
parent
4b16ac0034
commit
bf8dacf0c1
Notes:
sideshowbarker
2024-07-19 09:15:07 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/bf8dacf0c19 Pull-request: https://github.com/SerenityOS/serenity/pull/1240
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…
Reference in a new issue