From 954899b8825826d8fa7564794bca64dca5345789 Mon Sep 17 00:00:00 2001 From: Matthieu Martin Date: Thu, 13 Oct 2016 19:43:20 -0700 Subject: [PATCH] noexcept CollectVariadicContext destructor Summary: To be explicit about our assumption from D4013691 Reviewed By: andriigrynenko Differential Revision: D4015816 fbshipit-source-id: 24f984ac9959d0c4c0aeac34b3dce8dfcf2c1354 --- folly/futures/detail/Core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))); } -- 2.34.1