ndb: avoid double constructor on References

This commit is contained in:
William Casarin
2023-07-24 11:05:18 -07:00
parent 1e9e4a7f3a
commit 6fa9149939
3 changed files with 5 additions and 5 deletions

View File

@@ -83,7 +83,7 @@ func interpret_event_refs_ndb(blocks: [Block], tags: TagsSequence) -> [EventRef]
/// simpler case with no mentions
if mention_indices.count == 0 {
let ev_refs = References(tags: tags).ids()
let ev_refs = References.ids(tags: tags)
return interp_event_refs_without_mentions_ndb(ev_refs)
}