| 409 | PassedWrapper(const PassedWrapper& other) |
| 410 | : is_valid_(other.is_valid_), scoper_(other.scoper_.Pass()) {} |
| 411 | T Pass() const { |
| 412 | CHECK(is_valid_); |
| 413 | is_valid_ = false; |
| 414 | return scoper_.Pass(); |
| 415 | } |
| 416 | |
| 417 | private: |
| 418 | mutable bool is_valid_; |
no outgoing calls
no test coverage detected