Fixed example in the API doc of sf::SocketSelector

This commit is contained in:
Laurent Gomila 2012-12-14 15:06:03 +01:00
parent 2e22038be7
commit d41837bf16

View File

@ -231,6 +231,11 @@ private :
/// // be notified when he sends something /// // be notified when he sends something
/// selector.add(*client); /// selector.add(*client);
/// } /// }
/// else
/// {
/// // Error, we won't get a new connection, delete the socket
/// delete client;
/// }
/// } /// }
/// else /// else
/// { /// {