Bug 1061061 - Fix more bad implicit constructors in misc. code; r=bsmedberg
This commit is contained in:
@@ -105,7 +105,7 @@ public:
|
||||
ValueObserverHashKey(const char *aPref, PrefChangedFunc aCallback) :
|
||||
mPrefName(aPref), mCallback(aCallback) { }
|
||||
|
||||
ValueObserverHashKey(const ValueObserverHashKey *aOther) :
|
||||
explicit ValueObserverHashKey(const ValueObserverHashKey *aOther) :
|
||||
mPrefName(aOther->mPrefName), mCallback(aOther->mCallback)
|
||||
{ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user