mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:37:34 +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
|
@ -23,7 +23,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
virtual ErrorOr<Span<NonnullRefPtr<Node>>> children() const override
|
||||
virtual ErrorOr<Span<NonnullRefPtr<Node const>>> children() const override
|
||||
{
|
||||
TRY(reify_if_needed());
|
||||
return m_children.span();
|
||||
|
@ -48,7 +48,7 @@ protected:
|
|||
private:
|
||||
ErrorOr<void> reify_if_needed() const;
|
||||
|
||||
mutable NonnullRefPtrVector<Node> m_children;
|
||||
mutable NonnullRefPtrVector<Node const> m_children;
|
||||
mutable bool m_reified { false };
|
||||
bool m_open { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue