mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 10:37:17 +02:00
LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 22:25:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a50ba0a491f
@@ -38,7 +38,7 @@ public:
|
||||
virtual bool is_identifier(void*) const override;
|
||||
|
||||
virtual Syntax::Language language() const override { return Syntax::Language::GML; }
|
||||
virtual void rehighlight(Gfx::Palette) override;
|
||||
virtual void rehighlight(const Palette&) override;
|
||||
|
||||
protected:
|
||||
virtual Vector<MatchingTokenPair> matching_token_pairs() const override;
|
||||
|
||||
Reference in New Issue
Block a user