Fixed deprecation warnings while Nim compiles.
I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings.
This commit is contained in:
parent
13c98222df
commit
0634486689
7 changed files with 7 additions and 8 deletions
|
|
@ -10,7 +10,7 @@
|
|||
## This module implements a high-level cross-platform sockets interface.
|
||||
|
||||
{.deadCodeElim: on.}
|
||||
import nativesockets, os, strutils, unsigned, parseutils, times
|
||||
import nativesockets, os, strutils, parseutils, times
|
||||
export Port, `$`, `==`
|
||||
|
||||
const useWinVersion = defined(Windows) or defined(nimdoc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue