Bug 1658571 - Add a missing "explicit" in a test.

MANUAL PUSH: unit test fix in CLOSED TREE
This commit is contained in:
Emilio Cobos Álvarez 2020-09-24 19:51:46 +02:00
parent 1840888b31
commit 3aa40e5fb9

View file

@ -17,7 +17,7 @@ struct C : public SupportsWeakPtr {
};
struct HasWeakPtrToC {
HasWeakPtrToC(C* c) : mPtr(c) {}
explicit HasWeakPtrToC(C* c) : mPtr(c) {}
MainThreadWeakPtr<C> mPtr;