Skip to content

Commit bd19cea

Browse files
committed
Bug 1767899 - add explicit on EventTargetCapability ctor to fix build error. r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D148846
1 parent 8a8161d commit bd19cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xpcom/threads/EventTargetCapability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class CAPABILITY EventTargetCapability final {
5454
"T must derive from nsIEventTarget");
5555

5656
public:
57-
EventTargetCapability(T* aTarget) : mTarget(aTarget) {
57+
explicit EventTargetCapability(T* aTarget) : mTarget(aTarget) {
5858
MOZ_ASSERT(mTarget, "mTarget should be non-null");
5959
}
6060
~EventTargetCapability() = default;

0 commit comments

Comments
 (0)