diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp b/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp index f206a92aa2..71941d4557 100644 --- a/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp +++ b/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp @@ -10,7 +10,7 @@ namespace GUI { -static Syntax::TextStyle style_for_token_type(const Gfx::Palette& palette, IniToken::Type type) +static Syntax::TextStyle style_for_token_type(Gfx::Palette const& palette, IniToken::Type type) { switch (type) { case IniToken::Type::LeftBracket: @@ -36,7 +36,7 @@ bool IniSyntaxHighlighter::is_identifier(u64 token) const return ini_token == GUI::IniToken::Type::Name; } -void IniSyntaxHighlighter::rehighlight(const Palette& palette) +void IniSyntaxHighlighter::rehighlight(Palette const& palette) { auto text = m_client->get_text(); IniLexer lexer(text); |