From 8a365f6d070b66a017dc0e41530c80aba1bdf6aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sun, 18 Dec 2016 23:55:59 +0100 Subject: [PATCH] Use the 0.8.x line of libasync and fix compilation of the (stub) libasync driver. --- dub.sdl | 2 +- source/eventcore/drivers/libasync.d | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dub.sdl b/dub.sdl index 97dea66..ad570ce 100644 --- a/dub.sdl +++ b/dub.sdl @@ -30,7 +30,7 @@ configuration "select" { } configuration "libasync" { - dependency "libasync" version="~>0.7.9" + dependency "libasync" version="~>0.8.2" versions "EventcoreLibasyncDriver" } diff --git a/source/eventcore/drivers/libasync.d b/source/eventcore/drivers/libasync.d index f591528..8807419 100644 --- a/source/eventcore/drivers/libasync.d +++ b/source/eventcore/drivers/libasync.d @@ -148,7 +148,7 @@ final class LibasyncEventDriverSockets : EventDriverSockets { assert(false, "TODO!"); } - override void send(DatagramSocketFD socket, const(ubyte)[] buffer, IOMode mode, DatagramIOCallback on_send_finish, Address target_address = null) + override void send(DatagramSocketFD socket, const(ubyte)[] buffer, IOMode mode, Address target_address, DatagramIOCallback on_send_finish) { assert(false, "TODO!"); } @@ -191,7 +191,7 @@ final class LibasyncEventDriverFiles : EventDriverFiles { assert(false, "TODO!"); } - override FileFD createTemp() + override FileFD adopt(int system_file_handle) { assert(false, "TODO!"); }