diff options
author | Araq <rumpf_a@web.de> | 2016-11-29 10:37:14 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-11-29 10:37:14 +0100 |
commit | 2e5663c6d277353d1c7fdfc8bdf904aa3b87da42 (patch) | |
tree | 5633547fa0e9b97f43eedd07dfa9606588c8c8f8 /lib | |
parent | 82448b1304057c7c6f12a61cd5a8d94f4915247a (diff) | |
download | Nim-2e5663c6d277353d1c7fdfc8bdf904aa3b87da42.tar.gz |
make upcoming compile on Windows again
Diffstat (limited to 'lib')
-rw-r--r-- | lib/upcoming/asyncdispatch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/upcoming/asyncdispatch.nim b/lib/upcoming/asyncdispatch.nim index 68ecbe81e..798a7e890 100644 --- a/lib/upcoming/asyncdispatch.nim +++ b/lib/upcoming/asyncdispatch.nim @@ -207,7 +207,7 @@ when defined(windows) or defined(nimdoc): result.ioPort = createIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, 1) result.handles = initSet[AsyncFD]() result.timers.newHeapQueue() - result.callbacks = initQueue[proc ()](64) + result.callbacks = initDeque[proc ()](64) var gDisp{.threadvar.}: PDispatcher ## Global dispatcher proc getGlobalDispatcher*(): PDispatcher = |