From: Matthieu Martin Date: Fri, 14 Oct 2016 02:43:20 +0000 (-0700) Subject: noexcept CollectVariadicContext destructor X-Git-Tag: v2016.10.17.00~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=954899b8825826d8fa7564794bca64dca5345789;p=folly.git noexcept CollectVariadicContext destructor Summary: To be explicit about our assumption from D4013691 Reviewed By: andriigrynenko Differential Revision: D4015816 fbshipit-source-id: 24f984ac9959d0c4c0aeac34b3dce8dfcf2c1354 --- diff --git a/folly/futures/detail/Core.h b/folly/futures/detail/Core.h index c4beaa4c..33700478 100644 --- a/folly/futures/detail/Core.h +++ b/folly/futures/detail/Core.h @@ -466,7 +466,7 @@ struct CollectVariadicContext { std::get(results) = std::move(t); } } - ~CollectVariadicContext() { + ~CollectVariadicContext() noexcept { if (!threw.exchange(true)) { p.setValue(unwrapTryTuple(std::move(results))); }