Bug 1251936 - Mark AutoSetXPCOMLoadOnMainThread's constructor as explicit

This commit is contained in:
Ehsan Akhgari 2016-12-23 19:31:13 -05:00
parent 18f30a60a6
commit 1c687043f1

View file

@ -22,7 +22,7 @@ MFBT_API bool DllBlocklist_CheckStatus();
class MOZ_RAII AutoSetXPCOMLoadOnMainThread
{
public:
AutoSetXPCOMLoadOnMainThread(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) {
explicit AutoSetXPCOMLoadOnMainThread(MOZ_GUARD_OBJECT_NOTIFIER_ONLY_PARAM) {
MOZ_GUARD_OBJECT_NOTIFIER_INIT;
DllBlocklist_SetInXPCOMLoadOnMainThread(true);
}