mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-02-20 15:08:13 +00:00
Fix *nix compilation problem.
This commit is contained in:
parent
29d9274e03
commit
a7ff20b299
@ -512,7 +512,7 @@ elif unixPlatform:
|
||||
result.selector = newSelector[SelectorData]()
|
||||
when declared(initHeapQueue):
|
||||
# After 0.20.0 Nim's stdlib version
|
||||
result.timers = initHeapQueue()
|
||||
result.timers = initHeapQueue[TimerCallback]()
|
||||
else:
|
||||
# Before 0.20.0 Nim's stdlib version
|
||||
result.timers.newHeapQueue()
|
||||
|
Loading…
x
Reference in New Issue
Block a user