feat Promise add constexpr for CTR
Some checks failed
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 1m25s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 1m44s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 2m3s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m6s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 2m11s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 2m18s

This commit is contained in:
tqcq 2024-04-19 03:43:08 +00:00
parent bfa136e8d0
commit a8cab88d83

View File

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