mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
LibManual: Fix const-correctness issues
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user