Skip to content

Commit

Permalink
Merge pull request #44 from Yardanico/patch-1
Browse files Browse the repository at this point in the history
Fix compilation error on Nim devel
  • Loading branch information
stefantalpalaru authored Jan 25, 2019
2 parents 258e8ba + 1729faf commit 98e334f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chronicles/options.nim
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ template topicsAsSeq*(topics: string): untyped =
else:
newSeq[string](0)

proc topicsWithLogLevelAsSeq(topics: string): untyped =
proc topicsWithLogLevelAsSeq(topics: string): seq[EnabledTopic] =
var sequence = newSeq[EnabledTopic](0)
if topics.len > 0:
for topic in split(topics, {','} + Whitespace):
Expand Down

0 comments on commit 98e334f

Please sign in to comment.