Skip to content

Commit

Permalink
fix(libcxx): add missing default_new attribute to global delete overload
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri91 committed Oct 17, 2024
1 parent 6dfb6ea commit 5ddf28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/new
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ inline constexpr destroying_delete_t destroying_delete{};
[[cheerp::default_new]]
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz) _THROW_BAD_ALLOC;
[[cheerp::default_new]]
[[cheerp::default_new]]
_LIBCPP_NODISCARD_AFTER_CXX17 _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS;
[[cheerp::default_new]]
_LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete(void* __p) _NOEXCEPT;
[[cheerp::default_new]]
_LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete(void* __p, const std::nothrow_t&) _NOEXCEPT;
Expand Down

0 comments on commit 5ddf28b

Please sign in to comment.