C++14 + use make_unique and make_shared to make shared pointers
This commit is contained in:
1 parent
7fabd14a63
commit
a0f15bfb56
13 files changed
+23
-20
No files matched your search
@@ -538,7 +538,7 @@ namespace ix
|
||||
|
||||
while (_txbuf.size())
|
||||
{
|
||||
int ret = _socket->send((char*)&_txbuf[0], _txbuf.size());
|
||||
ssize_t ret = _socket->send((char*)&_txbuf[0], _txbuf.size());
|
||||
|
||||
if (ret < 0 && (_socket->getErrno() == EWOULDBLOCK ||
|
||||
_socket->getErrno() == EAGAIN))
|
||||
|
||||
Reference in new issue
Block a user