mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibIMAP: Remove needless conversion to DeprecatedString
We're comparing the return value to StringViews right after, so there is no need to do the conversion twice.
This commit is contained in:
committed by
Andrew Kaster
parent
6128e859ac
commit
c2ed1547ba
@@ -130,7 +130,7 @@ void Parser::parse_untagged()
|
||||
auto number = try_parse_number();
|
||||
if (number.has_value()) {
|
||||
consume(" "sv);
|
||||
auto data_type = parse_atom().to_deprecated_string();
|
||||
auto data_type = parse_atom();
|
||||
if (data_type == "EXISTS"sv) {
|
||||
m_response.data().set_exists(number.value());
|
||||
consume("\r\n"sv);
|
||||
|
||||
Reference in New Issue
Block a user