diff --git a/src/SFML/Network/SocketSelector.cpp b/src/SFML/Network/SocketSelector.cpp index 3a23c102..b5fcb210 100644 --- a/src/SFML/Network/SocketSelector.cpp +++ b/src/SFML/Network/SocketSelector.cpp @@ -74,7 +74,7 @@ SocketSelector::~SocketSelector() void SocketSelector::add(Socket& socket) { SocketHandle handle = socket.getHandle(); - if (handle != SocketImpl::invalidSocket()) + if (handle != priv::SocketImpl::invalidSocket()) { FD_SET(handle, &m_impl->AllSockets);