From e0ecacff451912a32a1a63f9d9a8d7f63546cfd8 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 21 May 2021 09:00:39 -0400 Subject: [PATCH] drop support for legacy C++ versions --- new.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/new.cc b/new.cc index 5c24224..451f2e5 100644 --- a/new.cc +++ b/new.cc @@ -78,7 +78,6 @@ EXPORT void operator delete[](void *ptr, size_t size) noexcept { h_free_sized(ptr, size); } -#if __cplusplus >= 201703L COLD static void *handle_out_of_memory(size_t size, size_t alignment, bool nothrow) { 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 { h_free_sized(ptr, size); } -#endif