diff --git a/src/lib/-adoc/AdocCorpus.cpp b/src/lib/-adoc/AdocCorpus.cpp index ef4edbf7d..2ae38f752 100644 --- a/src/lib/-adoc/AdocCorpus.cpp +++ b/src/lib/-adoc/AdocCorpus.cpp @@ -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(I)); + return (*this)(static_cast(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