From 493549a89680cb966d23fa14ff181e2c56ee6dce Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 18 May 2022 00:14:01 +0300 Subject: [PATCH] mime-object: fix some pedantic compiler warnings --- lib/message/mu-mime-object.hh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/message/mu-mime-object.hh b/lib/message/mu-mime-object.hh index 2d8f2c26..a966855f 100644 --- a/lib/message/mu-mime-object.hh +++ b/lib/message/mu-mime-object.hh @@ -434,8 +434,7 @@ AllPubkeyAlgos = {{ constexpr Option to_string_view_opt(MimeCertificate::PubkeyAlgo algo) { return to_string_view_opt(AllPubkeyAlgos, algo); -}; - +} constexpr std::array, 15> AllDigestAlgos = {{ @@ -458,7 +457,7 @@ AllDigestAlgos = {{ constexpr Option to_string_view_opt(MimeCertificate::DigestAlgo algo) { return to_string_view_opt(AllDigestAlgos, algo); -}; +} constexpr std::array, 6> AllTrusts = {{ @@ -472,7 +471,7 @@ AllTrusts = {{ constexpr Option to_string_view_opt(MimeCertificate::Trust trust) { return to_string_view_opt(AllTrusts, trust); -}; +} constexpr std::array, 6> AllValidities = {{ @@ -486,7 +485,7 @@ AllValidities = {{ constexpr Option to_string_view_opt(MimeCertificate::Validity val) { return to_string_view_opt(AllValidities, val); -}; +} @@ -638,7 +637,7 @@ AllCipherAlgos= {{ constexpr Option to_string_view_opt(MimeDecryptResult::CipherAlgo algo) { return to_string_view_opt(AllCipherAlgos, algo); -}; +} /**