1
Fork 0
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:
Andreas Kling 2023-02-20 18:59:53 +01:00
parent f11899f885
commit dbcf2f2dd4
8 changed files with 18 additions and 18 deletions

View file

@ -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 };
};