| 210 | } |
| 211 | |
| 212 | std::unique_ptr<FutureImpl> FutureImpl::MakeFinished(FutureState state) { |
| 213 | std::unique_ptr<ConcreteFutureImpl> ptr(new ConcreteFutureImpl()); |
| 214 | ptr->state_ = state; |
| 215 | return ptr; |
| 216 | } |
| 217 | |
| 218 | FutureImpl::FutureImpl() : state_(FutureState::PENDING) {} |
| 219 |
nothing calls this directly
no outgoing calls
no test coverage detected