mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +00:00
LibManual: Fix const-correctness issues
This commit is contained in:
parent
f11899f885
commit
dbcf2f2dd4
Notes:
sideshowbarker
2024-07-17 22:55:25 +09:00
Author: https://github.com/awesomekling
Commit: dbcf2f2dd4
Pull-request: https://github.com/SerenityOS/serenity/pull/17557
Reviewed-by: https://github.com/linusg
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