projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert D4982969: [Folly] Destroy promise/future callback functions before waking...
[folly.git]
/
folly
/
futures
/
Promise-inl.h
diff --git
a/folly/futures/Promise-inl.h
b/folly/futures/Promise-inl.h
index 61d4d933e2e1234fc3cffb52d198613e4ecccf77..c55d34ca66e48e069918c726ebcd2c1ea67d3ed5 100644
(file)
--- a/
folly/futures/Promise-inl.h
+++ b/
folly/futures/Promise-inl.h
@@
-59,10
+59,6
@@
void Promise<T>::throwIfRetrieved() {
}
}
-template <class T>
-Promise<T>::Promise(detail::EmptyConstruct) noexcept
- : retrieved_(false), core_(nullptr) {}
-
template <class T>
Promise<T>::~Promise() {
detach();