remove blank spaces

This commit is contained in:
Dmitriy Ryajov 2021-01-18 15:32:42 -06:00
parent b57101f265
commit 64b822e8f0
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
1 changed files with 2 additions and 2 deletions

View File

@ -21,11 +21,11 @@ type
method init*(p: LPProtocol) {.base, gcsafe.} = discard
func codec*(p: LPProtocol): string =
func codec*(p: LPProtocol): string =
assert(p.codecs.len > 0, "Codecs sequence was empty!")
p.codecs[0]
func `codec=`*(p: LPProtocol, codec: string) =
# always insert as first codec
# always insert as first codec
# if we use this abstraction
p.codecs.insert(codec, 0)