LibGUI: Use east const style in {INI,GML}Lexer.{cpp,h}

This commit is contained in:
Max Wipfli 2021-06-04 00:01:16 +02:00 committed by Ali Mohammad Pur
parent 106ad6ba09
commit e10278402f
Notes: sideshowbarker 2024-07-18 16:53:24 +09:00
4 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@
namespace GUI {
GMLLexer::GMLLexer(const StringView& input)
GMLLexer::GMLLexer(StringView const& input)
: m_input(input)
{
}

View file

@ -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<GMLToken> lex();

View file

@ -10,7 +10,7 @@
namespace GUI {
IniLexer::IniLexer(const StringView& input)
IniLexer::IniLexer(StringView const& input)
: m_input(input)
{
}

View file

@ -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<IniToken> lex();