MCPcopy Create free account
hub / github.com/apache/brpc / Swap

Method Swap

src/brpc/serialized_request.cpp:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void SerializedRequest::Swap(SerializedRequest* other) {
60 if (other != this) {
61 _serialized.swap(other->_serialized);
62 }
63}
64
65::google::protobuf::Metadata SerializedRequest::GetMetadata() const {
66 ::google::protobuf::Metadata metadata{};

Callers

nothing calls this directly

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected