LibWeb: Make node cloning methods const

This commit is contained in:
Tim Ledbetter 2025-01-11 17:37:08 +00:00 committed by Jelle Raaijmakers
commit a467005855
Notes: github-actions[bot] 2025-01-11 22:11:18 +00:00
20 changed files with 23 additions and 23 deletions

View file

@ -20,7 +20,7 @@ class Attr final : public Node {
public:
[[nodiscard]] static GC::Ref<Attr> create(Document&, QualifiedName, String value = {}, Element* = nullptr);
[[nodiscard]] static GC::Ref<Attr> create(Document&, FlyString local_name, String value = {}, Element* = nullptr);
GC::Ref<Attr> clone(Document&);
GC::Ref<Attr> clone(Document&) const;
virtual ~Attr() override = default;