mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-13 05:37:47 +02:00
Bump to C++17
This commit is contained in:
@ -8,7 +8,7 @@ void* operator new(std::size_t s) { return malloc(s); }
|
||||
void* operator new[](std::size_t s) { return malloc(s); }
|
||||
void operator delete(void *p) { free(p); }
|
||||
void operator delete[](void *p) { free(p); }
|
||||
void* operator new(std::size_t s, const std::nothrow_t&) { return malloc(s); }
|
||||
void* operator new[](std::size_t s, const std::nothrow_t&) { return malloc(s); }
|
||||
void operator delete(void *p, const std::nothrow_t&) { free(p); }
|
||||
void operator delete[](void *p, const std::nothrow_t&) { free(p); }
|
||||
void* operator new(std::size_t s, const std::nothrow_t&) noexcept { return malloc(s); }
|
||||
void* operator new[](std::size_t s, const std::nothrow_t&) noexcept { return malloc(s); }
|
||||
void operator delete(void *p, const std::nothrow_t&) noexcept { free(p); }
|
||||
void operator delete[](void *p, const std::nothrow_t&) noexcept { free(p); }
|
||||
|
Reference in New Issue
Block a user