mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[kernel] Remove placement-new declaration from memory.h.cog
Finishing the trend of using `#include <new>` to define new, get rid of the last bits of custom-declared operator new.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <new>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <util/misc.h> // for checksum
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <new>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <new>
|
||||
#include <string.h>
|
||||
|
||||
#include <util/no_construct.h>
|
||||
|
||||
@@ -13,8 +13,6 @@ namespace bootproto {
|
||||
struct args;
|
||||
}
|
||||
|
||||
void * operator new (size_t, void *p) noexcept;
|
||||
|
||||
/// Allocate from the default allocator.
|
||||
/// \arg size The size in bytes requested
|
||||
/// \returns A pointer to the newly allocated memory,
|
||||
|
||||
Reference in New Issue
Block a user