drop support for legacy C++ versions
parent
050871122b
commit
e0ecacff45
2
new.cc
2
new.cc
|
@ -78,7 +78,6 @@ EXPORT void operator delete[](void *ptr, size_t size) noexcept {
|
||||||
h_free_sized(ptr, size);
|
h_free_sized(ptr, size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
|
||||||
COLD static void *handle_out_of_memory(size_t size, size_t alignment, bool nothrow) {
|
COLD static void *handle_out_of_memory(size_t size, size_t alignment, bool nothrow) {
|
||||||
void *ptr = nullptr;
|
void *ptr = nullptr;
|
||||||
|
|
||||||
|
@ -150,4 +149,3 @@ EXPORT void operator delete(void *ptr, size_t size, std::align_val_t) noexcept {
|
||||||
EXPORT void operator delete[](void *ptr, size_t size, std::align_val_t) noexcept {
|
EXPORT void operator delete[](void *ptr, size_t size, std::align_val_t) noexcept {
|
||||||
h_free_sized(ptr, size);
|
h_free_sized(ptr, size);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue