feat update

This commit is contained in:
tqcq 2024-04-19 03:48:24 +00:00
parent a8cab88d83
commit ee512864a2

View File

@ -18,10 +18,10 @@ class Promise final {
public: public:
using Value = T; using Value = T;
constexpr Promise() noexcept = default; Promise() = default;
constexpr Promise(const Promise &) noexcept = default; Promise(const Promise &) = default;
constexpr Promise(Promise &&) noexcept = default; Promise(Promise &&) noexcept = default;
Promise &operator=(const Promise &) noexcept = default; Promise &operator=(const Promise &) = default;
Promise &operator=(Promise &&) noexcept = default; Promise &operator=(Promise &&) noexcept = default;
~Promise() = default; ~Promise() = default;