Skip to content

Commit 480b9da

Browse files
committed
Move resume to public.
1 parent f22b02e commit 480b9da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/socket.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ class Socket
185185
}
186186
}
187187

188+
inline void resume()
189+
{
190+
bind_co->resume();
191+
}
192+
188193
protected:
189194
double _timeout;
190195
double _timeout_temp;
@@ -271,11 +276,6 @@ class Socket
271276

272277
inline void init_sock(int _fd);
273278

274-
inline void resume()
275-
{
276-
bind_co->resume();
277-
}
278-
279279
inline bool is_available(bool allow_cross_co = false)
280280
{
281281
long cid = has_bound();

0 commit comments

Comments
 (0)