Skip to content

Commit

Permalink
[FOLD]
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkrystian committed Oct 30, 2023
1 parent 4d826fe commit fc37411
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/-adoc/AdocCorpus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,14 @@ DocVisitor::
operator()(doc::Reference const& I)
{
//dest_ += I.string;
if(I.id == SymbolID::zero ||
! corpus_.getCorpus().exists(I.id))
if(I.id == SymbolID::zero)
return (*this)(static_cast<const doc::Text&>(I));
return (*this)(static_cast<const doc::Text&>(I));
#if 0
MRDOCS_ASSERT(corpus_.getCorpus().exists(I.id));
fmt::format_to(std::back_inserter(dest_), "xref:{}[{}]",
corpus_.getXref(I.id), I.string);
#endif
}

std::size_t
Expand Down

0 comments on commit fc37411

Please sign in to comment.