projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add zlib/gzip streaming support
[folly.git]
/
folly
/
futures
/
SharedPromise-inl.h
diff --git
a/folly/futures/SharedPromise-inl.h
b/folly/futures/SharedPromise-inl.h
index fc45b4f4e56d7924b655eb0770a847f13dc10223..185062acdbcc01afbc5fd19ee543dadcc06a4b06 100644
(file)
--- a/
folly/futures/SharedPromise-inl.h
+++ b/
folly/futures/SharedPromise-inl.h
@@
-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_);