mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
Fixed example in the API doc of sf::SocketSelector
This commit is contained in:
parent
2e22038be7
commit
d41837bf16
@ -231,6 +231,11 @@ private :
|
||||
/// // be notified when he sends something
|
||||
/// selector.add(*client);
|
||||
/// }
|
||||
/// else
|
||||
/// {
|
||||
/// // Error, we won't get a new connection, delete the socket
|
||||
/// delete client;
|
||||
/// }
|
||||
/// }
|
||||
/// else
|
||||
/// {
|
||||
|
Loading…
Reference in New Issue
Block a user