fulfil -> setWith, fulfilTry -> setTry
[folly.git] / folly / wangle / channel / OutputBufferingHandler.h
index a1165ca1286f322e16d0ab2b0ed026a72f3285a3..e5ca99aee94bbc01fe8fda8af8b970ad7751fde0 100644 (file)
@@ -58,7 +58,7 @@ class OutputBufferingHandler : public BytesToBytesHandler,
     MoveWrapper<std::vector<Promise<void>>> promises(std::move(promises_));
     ctx_->fireWrite(std::move(sends_)).then([promises](Try<void> t) mutable {
       for (auto& p : *promises) {
-        p.fulfilTry(t);
+        p.setTry(t);
       }
     });
   }