From 8887daf7e480a92e102ff088a85c3d82a2c55e2b Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 22 Apr 2021 01:08:19 -0500 Subject: [PATCH] [ox/std] Make make_unique not noexcept --- deps/ox/src/ox/std/memory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/memory.hpp b/deps/ox/src/ox/std/memory.hpp index 75bb997c..543a711f 100644 --- a/deps/ox/src/ox/std/memory.hpp +++ b/deps/ox/src/ox/std/memory.hpp @@ -104,7 +104,7 @@ constexpr bool operator!=(std::nullptr_t, const UniquePtr p2) noexcept { template [[nodiscard]] -constexpr auto make_unique(Args&&... args) noexcept { +constexpr auto make_unique(Args&&... args) { return UniquePtr(new T(args...)); }