diff --git a/examples/echo-server/source/app.d b/examples/echo-server/source/app.d index aa0a7f7..3b47b3f 100644 --- a/examples/echo-server/source/app.d +++ b/examples/echo-server/source/app.d @@ -4,6 +4,6 @@ import vibe.core.stream : pipe; void main() { - listenTCP(7000, (conn) => pipe(conn, conn)); + listenTCP(7000, (conn) { pipe(conn, conn); }); runApplication(); }