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

LibIMAP: Rename position -> m_position in IMAP::Parser

No functional changes, just renaming this member variable to bring that
in line with current coding style.
This commit is contained in:
Valtteri Koskivuori 2023-07-28 23:54:04 +03:00 committed by Andrew Kaster
parent 8451c4d91c
commit 0b7e18177b
2 changed files with 42 additions and 42 deletions

View file

@ -30,7 +30,7 @@ private:
StringView consume_while(Function<bool(u8)> should_consume);
StringView consume_until_end_of_line();
bool at_end() { return position >= m_buffer.size(); }
bool at_end() { return m_position >= m_buffer.size(); }
unsigned parse_number();
Optional<unsigned> try_parse_number();
@ -66,7 +66,7 @@ private:
// To retain state if parsing is not finished
ByteBuffer m_buffer;
SolidResponse m_response;
unsigned position { 0 };
unsigned m_position { 0 };
bool m_incomplete { false };
bool m_parsing_failed { false };
};