X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;ds=sidebyside;f=folly%2Ffutures%2FSharedPromise.h;h=1d5670cde2efa5f4bc27f4712de08bb159102edb;hb=e845ef57f1f368944123e4a50bd4d1616a363efa;hp=0c8fcd9a747d86e59f132d1c9f2b72824b30b1f5;hpb=dbd0777d28fd6b0ef26d4e1c206ae5e3d4a2f67f;p=folly.git diff --git a/folly/futures/SharedPromise.h b/folly/futures/SharedPromise.h index 0c8fcd9a..1d5670cd 100644 --- a/folly/futures/SharedPromise.h +++ b/folly/futures/SharedPromise.h @@ -81,13 +81,6 @@ public: /// handled. void setInterruptHandler(std::function); - /// Fulfill this SharedPromise - template - typename std::enable_if::value, void>::type - setValue() { - setTry(Try()); - } - /// Sugar to fulfill this SharedPromise template typename std::enable_if::value, void>::type