File tree Expand file tree Collapse file tree
iOS/SioChatDemo/SioChatDemo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ MainWindow::MainWindow(QWidget *parent) :
2828
2929MainWindow::~MainWindow ()
3030{
31- _io->socket ()->all_off ();
31+ _io->socket ()->off_all ();
3232 _io->socket ()->clear_listeners ();
3333 delete ui;
3434}
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ -(void)keyboardWillHide {
202202
203203-(void )viewDidDisappear : (BOOL )animated
204204{
205- _io->socket ()->all_off ();
205+ _io->socket ()->off_all ();
206206 _io->socket ()->set_connect_listener (nullptr );
207207 _io->socket ()->set_close_listener (nullptr );
208208 _io->close ();
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ namespace sio {
111111 }
112112 }
113113
114- void all_off ()
114+ void off_all ()
115115 {
116116 m_event_binding.clear ();
117117 }
@@ -500,9 +500,9 @@ void set_##__FIELD__(__TYPE__ const& l) \
500500 m_impl->off (event_name);
501501 }
502502
503- void socket::all_off ()
503+ void socket::off_all ()
504504 {
505- m_impl->all_off ();
505+ m_impl->off_all ();
506506 }
507507
508508 void socket::close ()
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ namespace sio
6060
6161 void off (std::string const & event_name);
6262
63- void all_off ();
63+ void off_all ();
6464
6565 void close ();
6666
You can’t perform that action at this time.
0 commit comments