Update examples.

This commit is contained in:
Sönke Ludwig 2017-01-15 21:45:18 +01:00
parent 8b8169b868
commit 2ca7932a66
2 changed files with 2 additions and 2 deletions

View file

@ -191,7 +191,7 @@ void main()
eventDriver.core.processEvents(Duration.max);
}
void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client)
void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client, scope RefAddress)
@trusted /*@nogc*/ nothrow {
import core.stdc.stdlib;
auto handler = cast(ClientHandler*)calloc(1, ClientHandler.sizeof);

View file

@ -25,7 +25,7 @@ void main()
eventDriver.core.processEvents(Duration.max);
}
void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client)
void onClientConnect(StreamListenSocketFD listener, StreamSocketFD client, scope RefAddress)
@trusted /*@nogc*/ nothrow {
import core.stdc.stdlib;
auto handler = cast(ClientHandler*)calloc(1, ClientHandler.sizeof);