Bug 1415644: Follow-up: Fix static analysis build bustage. r=bustage
authorKris Maglione <maglione.k@gmail.com>
Fri, 09 Mar 2018 15:13:52 -0800
changeset 407425 270f423f416617ed31f2ee448c73af100941a6d3
parent 407424 c291e7dfe010bbaaecac186abfbd8310fba127de
child 407426 cb4f862e9dd4053089d38347a5222032dd425943
push id100684
push usermaglione.k@gmail.com
push dateFri, 09 Mar 2018 23:14:44 +0000
treeherdermozilla-inbound@270f423f4166 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1415644
milestone60.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 1415644: Follow-up: Fix static analysis build bustage. r=bustage MozReview-Commit-ID: IwFUIFOJbdX
toolkit/components/extensions/WebExtensionPolicy.cpp
--- a/toolkit/components/extensions/WebExtensionPolicy.cpp
+++ b/toolkit/components/extensions/WebExtensionPolicy.cpp
@@ -294,17 +294,17 @@ namespace {
     bool Contains(const nsAtom* aAtom) const
     {
       return Get().Contains(aAtom);
     }
 
   protected:
     virtual ~AtomSetPref() = default;
 
-    AtomSetPref(const char* aPref) : mPref(aPref)
+    explicit AtomSetPref(const char* aPref) : mPref(aPref)
     {}
 
   private:
     mutable Maybe<AtomSet> mAtomSet;
     const char* mPref;
   };
 
   const AtomSet&