projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba7a749
)
noexcept CollectVariadicContext destructor
author
Matthieu Martin
<matthieu@fb.com>
Fri, 14 Oct 2016 02:43:20 +0000
(19:43 -0700)
committer
Facebook Github Bot
<facebook-github-bot-bot@fb.com>
Fri, 14 Oct 2016 02:53:52 +0000
(19:53 -0700)
Summary: To be explicit about our assumption from
D4013691
Reviewed By: andriigrynenko
Differential Revision:
D4015816
fbshipit-source-id:
24f984ac9959d0c4c0aeac34b3dce8dfcf2c1354
folly/futures/detail/Core.h
patch
|
blob
|
history
diff --git
a/folly/futures/detail/Core.h
b/folly/futures/detail/Core.h
index c4beaa4c43a7e5388101176b065c85161687af1a..337004783b34da97340daed20c04d729dcb2bf71 100644
(file)
--- a/
folly/futures/detail/Core.h
+++ b/
folly/futures/detail/Core.h
@@
-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)));
}