X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2Ffutures%2FPromise-inl.h;h=c55d34ca66e48e069918c726ebcd2c1ea67d3ed5;hp=620890ee2da41a14f0847f0ab675c6e292d114cc;hb=646be295ec66750e0d17bf24bd8817c4a4abb1e0;hpb=ed8c80a0e0988e4ce687f51ca832a00e4a6b7930 diff --git a/folly/futures/Promise-inl.h b/folly/futures/Promise-inl.h index 620890ee..c55d34ca 100644 --- a/folly/futures/Promise-inl.h +++ b/folly/futures/Promise-inl.h @@ -134,7 +134,7 @@ void Promise::setWith(F&& func) { } template -bool Promise::isFulfilled() { +bool Promise::isFulfilled() const noexcept { if (core_) { return core_->hasResult(); }