MCPcopy Create free account
hub / github.com/apache/brpc / operator()

Method operator()

src/brpc/socket_message.h:53–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51namespace details {
52struct SocketMessageDeleter {
53 void operator()(SocketMessage* msg) const {
54 butil::IOBuf dummy_buf;
55 // We don't care about the return value since the message is abandoned
56 (void)msg->AppendAndDestroySelf(&dummy_buf, NULL);
57 }
58};
59}
60

Callers

nothing calls this directly

Calls 1

AppendAndDestroySelfMethod · 0.45

Tested by

no test coverage detected