projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(Wangle) Possibly undefined behavior in collect
[folly.git]
/
folly
/
futures
/
detail
/
Core.h
diff --git
a/folly/futures/detail/Core.h
b/folly/futures/detail/Core.h
index 0265159120a5b4b30a085c24e699a4c9458ccf02..c0e09d099e7a6dfef80dbf9745f6ab2ec5bf416b 100644
(file)
--- a/
folly/futures/detail/Core.h
+++ b/
folly/futures/detail/Core.h
@@
-414,7
+414,7
@@
struct CollectVariadicContext {
}
Promise<std::tuple<Ts...>> p;
std::tuple<Ts...> results;
- std::atomic<bool> threw;
+ std::atomic<bool> threw
{false}
;
typedef Future<std::tuple<Ts...>> type;
};