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

LibIMAP: Remove unused Variant option

This commit is contained in:
Ben Wiederhake 2021-09-19 22:26:52 +02:00 committed by Ali Mohammad Pur
parent 12247fe9b4
commit 9265595e42
2 changed files with 1 additions and 2 deletions

View file

@ -138,7 +138,6 @@ String serialize_astring(StringView string)
String SearchKey::serialize() const
{
return data.visit(
[&](Empty const&) { VERIFY_NOT_REACHED(); return String("The compiler complains if you remove this."); },
[&](All const&) { return String("ALL"); },
[&](Answered const&) { return String("ANSWERED"); },
[&](Bcc const& x) { return String::formatted("BCC {}", serialize_astring(x.bcc)); },

View file

@ -460,7 +460,7 @@ public:
struct Unseen { };
// clang-format on
Variant<Empty, All, Answered, Bcc, Cc, Deleted, Draft, From, Header, Keyword,
Variant<All, Answered, Bcc, Cc, Deleted, Draft, From, Header, Keyword,
Larger, New, Not, Old, On, Or, Recent, SearchKeys, Seen, SentBefore, SentOn,
SentSince, SequenceSet, Since, Smaller, Subject, Text, To, UID, Unanswered,
Undeleted, Undraft, Unkeyword, Unseen>