Commit 954899b8 authored by Matthieu Martin's avatar Matthieu Martin Committed by Facebook Github Bot

noexcept CollectVariadicContext destructor

Summary: To be explicit about our assumption from D4013691

Reviewed By: andriigrynenko

Differential Revision: D4015816

fbshipit-source-id: 24f984ac9959d0c4c0aeac34b3dce8dfcf2c1354
parent ba7a749e
......@@ -466,7 +466,7 @@ struct CollectVariadicContext {
std::get<I>(results) = std::move(t);
}
}
~CollectVariadicContext() {
~CollectVariadicContext() noexcept {
if (!threw.exchange(true)) {
p.setValue(unwrapTryTuple(std::move(results)));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment