Commit 5ee773b7 authored by Sandro Knauß's avatar Sandro Knauß 🐝
Browse files

Add explicit to constructor

parent 737411e0
Pipeline #84177 passed with stage
in 17 minutes and 2 seconds
......@@ -16,7 +16,7 @@ namespace MessageComposer
class MESSAGECOMPOSER_EXPORT DraftEncryptionState
DraftEncryptionState(const KMime::Message::Ptr &msg);
explicit DraftEncryptionState(const KMime::Message::Ptr &msg);
void setState(bool encrypt);
void removeState();
......@@ -31,7 +31,7 @@ private:
class MESSAGECOMPOSER_EXPORT DraftSignatureState
DraftSignatureState(const KMime::Message::Ptr &msg);
explicit DraftSignatureState(const KMime::Message::Ptr &msg);
void setState(bool sign);
void removeState();
......@@ -46,7 +46,7 @@ private:
class MESSAGECOMPOSER_EXPORT DraftCryptoMessageFormatState
DraftCryptoMessageFormatState(const KMime::Message::Ptr &msg);
explicit DraftCryptoMessageFormatState(const KMime::Message::Ptr &msg);
void setState(Kleo::CryptoMessageFormat cryptoMessageFormat);
void removeState();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment