mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +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
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue