feat update
All checks were successful
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 2m1s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m1s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m14s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m24s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m29s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m54s
All checks were successful
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Successful in 2m1s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m1s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m14s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m24s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m29s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m54s
This commit is contained in:
parent
a8cab88d83
commit
ee512864a2
@ -17,13 +17,13 @@ class Promise final {
|
||||
"Promise<_, void> is not allowed. Use Promise<_, bool> instead");
|
||||
|
||||
public:
|
||||
using Value = T;
|
||||
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;
|
||||
using Value = T;
|
||||
Promise() = default;
|
||||
Promise(const Promise &) = default;
|
||||
Promise(Promise &&) noexcept = default;
|
||||
Promise &operator=(const Promise &) = default;
|
||||
Promise &operator=(Promise &&) noexcept = default;
|
||||
~Promise() = default;
|
||||
|
||||
Future<T, FailureT> GetFuture() const { return future_; };
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user