Fix -Wshadow warnings in RAIIsocket::closesocket

This commit is contained in:
Kp 2016-05-21 17:24:51 +00:00
parent 6de7046226
commit 9c4448f78c

View file

@ -155,9 +155,9 @@ struct RAIIsocket
{
#ifndef _WIN32
typedef int SOCKET;
int closesocket(SOCKET s)
int closesocket(SOCKET fd)
{
return close(s);
return close(fd);
}
#endif
SOCKET s;