| 124 | } |
| 125 | |
| 126 | void MemcacheRequest::Swap(MemcacheRequest* other) { |
| 127 | if (other != this) { |
| 128 | _buf.swap(other->_buf); |
| 129 | std::swap(_pipelined_count, other->_pipelined_count); |
| 130 | std::swap(_cached_size_, other->_cached_size_); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | ::google::protobuf::Metadata MemcacheRequest::GetMetadata() const { |
| 135 | ::google::protobuf::Metadata metadata{}; |