diff options
Diffstat (limited to 'mailnews/imap/src/nsSyncRunnableHelpers.h')
-rw-r--r-- | mailnews/imap/src/nsSyncRunnableHelpers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mailnews/imap/src/nsSyncRunnableHelpers.h b/mailnews/imap/src/nsSyncRunnableHelpers.h index 4740fab10..273810a70 100644 --- a/mailnews/imap/src/nsSyncRunnableHelpers.h +++ b/mailnews/imap/src/nsSyncRunnableHelpers.h @@ -27,7 +27,7 @@ class StreamListenerProxy final : public nsIStreamListener { public: - StreamListenerProxy(nsIStreamListener* receiver) + explicit StreamListenerProxy(nsIStreamListener* receiver) : mReceiver(receiver) { } @@ -45,7 +45,7 @@ private: class ImapMailFolderSinkProxy final : public nsIImapMailFolderSink { public: - ImapMailFolderSinkProxy(nsIImapMailFolderSink* receiver) + explicit ImapMailFolderSinkProxy(nsIImapMailFolderSink* receiver) : mReceiver(receiver) { NS_ASSERTION(receiver, "Don't allow receiver is nullptr"); @@ -64,7 +64,7 @@ private: class ImapServerSinkProxy final : public nsIImapServerSink { public: - ImapServerSinkProxy(nsIImapServerSink* receiver) + explicit ImapServerSinkProxy(nsIImapServerSink* receiver) : mReceiver(receiver) { } @@ -82,7 +82,7 @@ private: class ImapMessageSinkProxy final : public nsIImapMessageSink { public: - ImapMessageSinkProxy(nsIImapMessageSink* receiver) + explicit ImapMessageSinkProxy(nsIImapMessageSink* receiver) : mReceiver(receiver) { } @@ -99,7 +99,7 @@ private: class ImapProtocolSinkProxy final : public nsIImapProtocolSink { public: - ImapProtocolSinkProxy(nsIImapProtocolSink* receiver) + explicit ImapProtocolSinkProxy(nsIImapProtocolSink* receiver) : mReceiver(receiver) { } |