1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

LibSQL: Clean up SyntaxHighlighter code

This changes SyntaxHighlighter.{cpp,h} to use east const style. It also
removes two unused headers and simplifies a loop.
This commit is contained in:
Max Wipfli 2021-06-04 10:54:28 +02:00 committed by Ali Mohammad Pur
parent 261f233060
commit a9378ce5c2
2 changed files with 7 additions and 10 deletions

View file

@ -18,7 +18,7 @@ public:
virtual bool is_identifier(void*) const override;
virtual Syntax::Language language() const override { return Syntax::Language::SQL; }
virtual void rehighlight(const Palette&) override;
virtual void rehighlight(Palette const&) override;
protected:
virtual Vector<MatchingTokenPair> matching_token_pairs() const override;