mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:37:35 +00:00
Help+LibManual: Make the children accessor fallible
This is convenient for the section node which might compute children on the fly.
This commit is contained in:
parent
437d3ca0ea
commit
aa5e574872
5 changed files with 22 additions and 12 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
virtual NonnullRefPtrVector<Node>& children() const override;
|
||||
virtual ErrorOr<Span<NonnullRefPtr<Node>>> children() const override;
|
||||
virtual Node const* parent() const override;
|
||||
virtual ErrorOr<String> name() const override { return m_page; };
|
||||
virtual bool is_page() const override { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue