lichao
2021-04-09 2197cf91e7a3bd5941327ba630a42946b88f069e
src/proto.h
@@ -74,5 +74,5 @@
BHMsgHead InitMsgHead(const MsgType type, const std::string &proc_id, const std::string &msgid);
BHMsgHead InitMsgHead(const MsgType type, const std::string &proc_id);
// inline void AddRoute(BHMsgHead &head, const MQId &id) { head.add_route()->set_mq_id(&id, sizeof(id)); }
inline bool IsSuccess(const ErrorCode ec) { return ec == eSuccess; }
#endif // end of include guard: PROTO_UA9UWKL1