Skip to content

Commit

Permalink
Minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu-Vitaqua-fer-Chronos committed Feb 13, 2024
1 parent 4545a31 commit ad98608
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pulse.nim
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ when not defined(js):

proc newAsyncEventHandler*[T](): AsyncEventHandler[T] = AsyncEventHandler[T](tbl: newTable[TypeInfo, seq[pointer]]())

template getTInfo(t: typedesc): TypeInfo =
cast[TypeInfo](default(t).getTypeInfo)
template getTInfo(t: typedesc): TypeInfo = cast[TypeInfo](default(t).getTypeInfo)

else:
type
Expand Down

0 comments on commit ad98608

Please sign in to comment.