Revert D4982969: [Folly] Destroy promise/future callback functions before waking...
[folly.git] / folly / futures / Promise-inl.h
index 61d4d933e2e1234fc3cffb52d198613e4ecccf77..c55d34ca66e48e069918c726ebcd2c1ea67d3ed5 100644 (file)
@@ -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();