drop support for legacy C++ versions

pull/138/head
Daniel Micay 2021-05-21 09:00:39 -04:00
parent 050871122b
commit e0ecacff45
1 changed files with 0 additions and 2 deletions

2
new.cc
View File

@ -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