Bug 988718 - Mark nsSecurityHeaderParser explicit. r=dkeeler
authorBenjamin Peterson <benjamin@python.org>
Thu, 27 Mar 2014 12:51:25 -0400
changeset 175660 3a8f7aabfeb683fb67902c2e323f31ba0298387a
parent 175659 2d754cf4e1225ba02020e143c070f2491b877155
child 175661 a673af0b3f228fab7c8053e14a3ffa57189314cb
push id26496
push userkwierso@gmail.com
push dateFri, 28 Mar 2014 02:28:34 +0000
treeherdermozilla-central@3c09159e01da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdkeeler
bugs988718
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 988718 - Mark nsSecurityHeaderParser explicit. r=dkeeler
security/manager/boot/src/nsSecurityHeaderParser.h
--- a/security/manager/boot/src/nsSecurityHeaderParser.h
+++ b/security/manager/boot/src/nsSecurityHeaderParser.h
@@ -31,17 +31,17 @@ public:
 //
 //   token          = <token, defined in [RFC2616], Section 2.2>
 //   quoted-string  = <quoted-string, defined in [RFC2616], Section 2.2>/
 //
 // For further reference, see [RFC6797], Section 6.1
 
 class nsSecurityHeaderParser {
 public:
-  nsSecurityHeaderParser(const char *aHeader);
+  explicit nsSecurityHeaderParser(const char *aHeader);
   ~nsSecurityHeaderParser();
 
   // Only call Parse once.
   nsresult Parse();
   // The caller does not take ownership of the memory returned here.
   mozilla::LinkedList<nsSecurityHeaderDirective> *GetDirectives();
 
 private: