C++14 + use make_unique and make_shared to make shared pointers

This commit is contained in:
Benjamin Sergeant committed 2019-01-11 21:25:06 -08:00
1 parent 7fabd14a63
commit a0f15bfb56
13 files changed
+23 -20

No files matched your search

+1 -1
View File
@@ -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))