diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2021-09-19 22:26:52 +0200 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-09-21 04:22:52 +0430 |
commit | 9265595e422bcc48dff141be78ff0c009b81beec (patch) | |
tree | 967a08c65699ac4557bf8b60749770c35e4ad3b2 | |
parent | 12247fe9b44dd5bcb9cbab7c6ab80fcd6f3281ea (diff) | |
download | serenity-9265595e422bcc48dff141be78ff0c009b81beec.zip |
LibIMAP: Remove unused Variant option
-rw-r--r-- | Userland/Libraries/LibIMAP/Objects.cpp | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibIMAP/Objects.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibIMAP/Objects.cpp b/Userland/Libraries/LibIMAP/Objects.cpp index 21a9f6b222..abce49692f 100644 --- a/Userland/Libraries/LibIMAP/Objects.cpp +++ b/Userland/Libraries/LibIMAP/Objects.cpp @@ -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)); }, diff --git a/Userland/Libraries/LibIMAP/Objects.h b/Userland/Libraries/LibIMAP/Objects.h index 3b998b9472..4609503613 100644 --- a/Userland/Libraries/LibIMAP/Objects.h +++ b/Userland/Libraries/LibIMAP/Objects.h @@ -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> |