From c6964d5af25d4ec7ed9dbe7674dc4e3896b36ead Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 16 四月 2021 16:10:02 +0800 Subject: [PATCH] node remove mq if never registered; refactor. --- src/proto.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/proto.h b/src/proto.h index 42fe343..b418342 100644 --- a/src/proto.h +++ b/src/proto.h @@ -72,7 +72,7 @@ SetError(*msg.mutable_errmsg(), err_code, err_str); return msg; } - +std::string NewMsgId(); 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)); } -- Gitblit v1.8.0