Add zlib/gzip streaming support
[folly.git] / folly / futures / SharedPromise-inl.h
index fc45b4f4e56d7924b655eb0770a847f13dc10223..185062acdbcc01afbc5fd19ee543dadcc06a4b06 100644 (file)
@@ -47,11 +47,6 @@ SharedPromise<T>& SharedPromise<T>::operator=(
   return *this;
 }
 
-template <class T>
-SharedPromise<T>::SharedPromise(Future<T> future) {
-  future.then(&SharedPromise<T>::setTry, this);
-}
-
 template <class T>
 size_t SharedPromise<T>::size() {
   std::lock_guard<std::mutex> g(mutex_);