1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

LibSyntax: Make rehighlight() take Gfx::Palette as by const-reference

This commit is contained in:
Andreas Kling 2021-02-11 23:52:39 +01:00
parent cf1c159ed5
commit a50ba0a491
13 changed files with 13 additions and 13 deletions

View file

@ -56,7 +56,7 @@ public:
virtual ~Highlighter();
virtual Language language() const = 0;
virtual void rehighlight(Gfx::Palette) = 0;
virtual void rehighlight(const Palette&) = 0;
virtual void highlight_matching_token_pair();
virtual bool is_identifier(void*) const { return false; };