diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-09-08 08:38:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-08 08:38:10 +0200 |
commit | 4cb4961f7ca137af216024e1cb7a9754ac62b4ee (patch) | |
tree | 8254badb211a4a4acd70554a3a7ff55c068e681f /lib | |
parent | c35439e1ecb8c68e45064e10083dd069c48ec871 (diff) | |
parent | 7788b5a043a54e74957c887b55825c43c7a7c16c (diff) | |
download | Nim-4cb4961f7ca137af216024e1cb7a9754ac62b4ee.tar.gz |
Merge pull request #4732 from cheatfate/borrowse
upcoming_async: Borrow for AsyncEvent.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/upcoming/asyncdispatch.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/upcoming/asyncdispatch.nim b/lib/upcoming/asyncdispatch.nim index 52e7ed552..689d0272c 100644 --- a/lib/upcoming/asyncdispatch.nim +++ b/lib/upcoming/asyncdispatch.nim @@ -1373,6 +1373,7 @@ else: {.deprecated: [TAsyncFD: AsyncFD, TCallback: Callback].} proc `==`*(x, y: AsyncFD): bool {.borrow.} + proc `==`*(x, y: AsyncEvent): bool {.borrow.} proc newDispatcher*(): PDispatcher = new result |