From 238b3cab1bc1c6b2f1b2f03df3a78c8d1db6c685 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期日, 25 四月 2021 15:53:08 +0800
Subject: [PATCH] 重新生成pb.go
---
box/center.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/box/center.h b/box/center.h
index 60639d5..ab8b15f 100644
--- a/box/center.h
+++ b/box/center.h
@@ -30,8 +30,7 @@
public:
typedef Socket::PartialRecvCB MsgHandler;
typedef Socket::IdleCB IdleHandler;
- static bool Install(const std::string &name, MsgHandler handler, IdleHandler idle, const std::string &mqid, const int mq_len);
- static bool Install(const std::string &name, MsgHandler handler, IdleHandler idle, const MQId &mqid, const int mq_len);
+ static bool Install(const std::string &name, MsgHandler handler, IdleHandler idle, const MQId mqid, const int mq_len);
BHCenter(Socket::Shm &shm);
~BHCenter() { Stop(); }
@@ -43,7 +42,7 @@
std::string name_;
MsgHandler handler_;
IdleHandler idle_;
- std::string mqid_;
+ MQId mqid_;
int mq_len_ = 0;
};
typedef std::map<std::string, CenterInfo> CenterRecords;
--
Gitblit v1.8.0