wasphin commented on code in PR #1806: URL: https://github.com/apache/incubator-brpc/pull/1806#discussion_r902228313
########## src/brpc/socket_map.h: ########## @@ -47,13 +47,13 @@ inline bool operator!=(const ChannelSignature& s1, const ChannelSignature& s2) { // The following fields uniquely define a Socket. In other word, // Socket can't be shared between 2 different SocketMapKeys struct SocketMapKey { - explicit SocketMapKey(const butil::EndPoint& pt) + explicit SocketMapKey(const butil::EndPoint &pt) : peer(pt) {} - SocketMapKey(const butil::EndPoint& pt, const ChannelSignature& cs) - : peer(pt), channel_signature(cs) + SocketMapKey(const butil::EndPoint &pt, const ChannelSignature &cs) + : peer(pt),channel_signature(cs) {} - SocketMapKey(const ServerNode& sn, const ChannelSignature& cs) + SocketMapKey(const ServerNode &sn, const ChannelSignature &cs) Review Comment: 这个误提交的还原回去吧。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org