Skip to content

Commit f0af75e

Browse files
committed
sendInLoop
1 parent 8fe6cbd commit f0af75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/net/inner/TcpConnectionImpl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,12 @@ class TcpConnectionImpl : public TcpConnection,
245245
ssize_t writeInLoop(const void *buffer, size_t length);
246246
#else
247247
void sendInLoop(const char *buffer, size_t length);
248-
void sendInLoop(trantor::MsgBuffer &&buffer);
249248
// -1: error, 0: EAGAIN, >0: bytes sent
250249
ssize_t writeRaw(const char *buffer, size_t length);
251250
// -1: error, 0: EAGAIN, >0: bytes sent
252251
ssize_t writeInLoop(const char *buffer, size_t length);
253252
#endif
253+
void sendInLoop(trantor::MsgBuffer &&buffer);
254254
size_t highWaterMarkLen_{0};
255255
std::string name_;
256256

0 commit comments

Comments
 (0)