diff --git a/Userland/Libraries/LibGUI/GMLLexer.cpp b/Userland/Libraries/LibGUI/GMLLexer.cpp index cf1cc9d12b..1f97e3ac90 100644 --- a/Userland/Libraries/LibGUI/GMLLexer.cpp +++ b/Userland/Libraries/LibGUI/GMLLexer.cpp @@ -10,7 +10,7 @@ namespace GUI { -GMLLexer::GMLLexer(const StringView& input) +GMLLexer::GMLLexer(StringView const& input) : m_input(input) { } diff --git a/Userland/Libraries/LibGUI/GMLLexer.h b/Userland/Libraries/LibGUI/GMLLexer.h index 95d53c84a7..50214cbc58 100644 --- a/Userland/Libraries/LibGUI/GMLLexer.h +++ b/Userland/Libraries/LibGUI/GMLLexer.h @@ -33,7 +33,7 @@ struct GMLToken { #undef __TOKEN }; - const char* to_string() const + char const* to_string() const { switch (m_type) { #define __TOKEN(x) \ @@ -53,7 +53,7 @@ struct GMLToken { class GMLLexer { public: - GMLLexer(const StringView&); + GMLLexer(StringView const&); Vector lex(); diff --git a/Userland/Libraries/LibGUI/INILexer.cpp b/Userland/Libraries/LibGUI/INILexer.cpp index 57dba5ae6f..e1eb181c10 100644 --- a/Userland/Libraries/LibGUI/INILexer.cpp +++ b/Userland/Libraries/LibGUI/INILexer.cpp @@ -10,7 +10,7 @@ namespace GUI { -IniLexer::IniLexer(const StringView& input) +IniLexer::IniLexer(StringView const& input) : m_input(input) { } diff --git a/Userland/Libraries/LibGUI/INILexer.h b/Userland/Libraries/LibGUI/INILexer.h index 2ebb0e7c78..288884a9fa 100644 --- a/Userland/Libraries/LibGUI/INILexer.h +++ b/Userland/Libraries/LibGUI/INILexer.h @@ -33,7 +33,7 @@ struct IniToken { #undef __TOKEN }; - const char* to_string() const + char const* to_string() const { switch (m_type) { #define __TOKEN(x) \ @@ -52,7 +52,7 @@ struct IniToken { class IniLexer { public: - IniLexer(const StringView&); + IniLexer(StringView const&); Vector lex();