mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibManual: Fix const-correctness issues
This commit is contained in:
parent
f11899f885
commit
dbcf2f2dd4
8 changed files with 18 additions and 18 deletions
|
@ -16,9 +16,9 @@ Node const* PageNode::parent() const
|
|||
return m_section.ptr();
|
||||
}
|
||||
|
||||
ErrorOr<Span<NonnullRefPtr<Node>>> PageNode::children() const
|
||||
ErrorOr<Span<NonnullRefPtr<Node const>>> PageNode::children() const
|
||||
{
|
||||
static NonnullRefPtrVector<Node> empty_vector;
|
||||
static NonnullRefPtrVector<Node const> empty_vector;
|
||||
return empty_vector.span();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue