summaryrefslogtreecommitdiffstats
path: root/mailnews/mime/public/MimeHeaderParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'mailnews/mime/public/MimeHeaderParser.h')
-rw-r--r--mailnews/mime/public/MimeHeaderParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailnews/mime/public/MimeHeaderParser.h b/mailnews/mime/public/MimeHeaderParser.h
index 429e759b1..fe9bf59d3 100644
--- a/mailnews/mime/public/MimeHeaderParser.h
+++ b/mailnews/mime/public/MimeHeaderParser.h
@@ -47,7 +47,7 @@ template <uint32_t N = 5>
class UTF16ArrayAdapter
{
public:
- UTF16ArrayAdapter(nsTArray<nsCString> &aUTF8Array)
+ explicit UTF16ArrayAdapter(nsTArray<nsCString> &aUTF8Array)
: mUTF8Array(aUTF8Array) {}
~UTF16ArrayAdapter() { detail::DoConversion(mUTF16Array, mUTF8Array); }
operator nsTArray<nsString>&() { return mUTF16Array; }