[ox/std] Make make_unique not noexcept

This commit is contained in:
Gary Talent 2021-04-22 01:08:19 -05:00
parent 9c63f26684
commit 8887daf7e4

View File

@ -104,7 +104,7 @@ constexpr bool operator!=(std::nullptr_t, const UniquePtr<T> p2) noexcept {
template<typename T, typename ...Args>
[[nodiscard]]
constexpr auto make_unique(Args&&... args) noexcept {
constexpr auto make_unique(Args&&... args) {
return UniquePtr(new T(args...));
}