~reesmichael1/roman

d4936b5ce17f16b0615580c244c0d88ac91fdc06 — Michael Rees 5 months ago 7a95a17
Fix compilation with d:internalRenderer

When I rebased my toggleread branch onto master, some conflicts didn't
get resolved correctly.
1 files changed, 2 insertions(+), 2 deletions(-)

M src/romanpkg/feeds.nim
M src/romanpkg/feeds.nim => src/romanpkg/feeds.nim +2 -2
@@ 191,14 191,14 @@ proc getFeeds*(subs: seq[Subscription]): seq[Feed] {.raises: [RomanError].} =
  try:
    contents = waitFor asyncFeedsLoader(subs)
    when defined(internalRenderer):
      var responses = newSeq[FlowVar[ref Feed]](subs.len)
      var responses = newSeq[FlowVar[Feed]](subs.len)
      parallel:
        for ix, content in contents:
          responses[ix] = spawn buildFeedFromContentAndSub(content, subs[ix])

      sync()
      for ix, response in responses:
        result[ix] = (^response)[]
        result[ix] = ^response

    else:
      for ix, content in contents: