From 2ca7932a6659f3606d563481718ebb4b773628ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sun, 15 Jan 2017 21:45:18 +0100 Subject: [PATCH] Update examples. --- examples/http-server-fibers.d | 2 +- examples/http-server.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/http-server-fibers.d b/examples/http-server-fibers.d index 891b79c..9f1dbff 100644 --- a/examples/http-server-fibers.d +++ b/examples/http-server-fibers.d @@ -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); diff --git a/examples/http-server.d b/examples/http-server.d index 1828459..44ab8c5 100644 --- a/examples/http-server.d +++ b/examples/http-server.d @@ -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);