lichao
2021-04-25 1fbfef2a51db4a3bac9d8a5b87af94a40a913b7a
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;