fix fill error
Some checks failed
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 1m45s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Failing after 2m2s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 2m9s
linux-x64-gcc / linux-gcc (Release) (push) Successful in 2m23s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 2m29s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m32s

This commit is contained in:
tqcq 2024-04-19 20:35:09 +00:00
parent 00be161b61
commit 22f3189603

View File

@ -267,7 +267,7 @@ public:
result.FillFailure(future_detail::ExceptionFailure<FailureT>());
}
});
OnFailure([result](const FailureT &failure) noexcept { result.FillFailure(failure); });
OnFailure([result](const FailureT &failure) mutable noexcept { result.FillFailure(failure); });
return result;
}