1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +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

@ -13,7 +13,7 @@ namespace Manual {
// A non-toplevel (i.e. not numbered) manual section.
class SubsectionNode : public SectionNode {
public:
SubsectionNode(NonnullRefPtr<SectionNode> parent, StringView name);
SubsectionNode(NonnullRefPtr<SectionNode const> parent, StringView name);
virtual ~SubsectionNode() = default;
virtual Node const* parent() const override;
@ -22,7 +22,7 @@ public:
virtual PageNode const* document() const override;
protected:
NonnullRefPtr<SectionNode> m_parent;
NonnullRefPtr<SectionNode const> m_parent;
};
}