@@ -385,8 +385,10 @@ struct MRDOCS_DECL
385385
386386 bool operator ==(const Block& other) const noexcept
387387 {
388- if (kind != other.kind )
388+ if (kind != other.kind )
389+ {
389390 return false ;
391+ }
390392 return std::equal (children.begin (), children.end (),
391393 other.children .begin (), other.children .end (),
392394 [](const auto & a, const auto & b)
@@ -410,6 +412,8 @@ struct MRDOCS_DECL
410412
411413 void append (List<Node>&& blocks);
412414
415+ void append (List<Text> const & otherChildren);
416+
413417protected:
414418 explicit
415419 Block (
@@ -892,7 +896,7 @@ void traverse(
892896
893897struct Overview
894898{
895- Paragraph const * brief = nullptr ;
899+ std::shared_ptr< Paragraph> brief = nullptr ;
896900 std::vector<Block const *> blocks;
897901 Returns const * returns = nullptr ;
898902 std::vector<Param const *> params;
@@ -916,6 +920,8 @@ class Corpus;
916920class MRDOCS_DECL
917921 Javadoc
918922{
923+ doc::List<doc::Block> blocks_;
924+
919925public:
920926 /* * Constructor.
921927 */
@@ -1015,8 +1021,6 @@ class MRDOCS_DECL
10151021
10161022private:
10171023 std::string emplace_back (std::unique_ptr<doc::Block>);
1018-
1019- doc::List<doc::Block> blocks_;
10201024};
10211025
10221026/* * Return the Javadoc as a @ref dom::Value.
0 commit comments