From 04df8d871eaff3a006b7db61f101638f81741356 Mon Sep 17 00:00:00 2001 From: Kannan Vijayan Date: Fri, 20 Feb 2015 19:02:03 -0500 Subject: [PATCH] Bug 1119335 - Fix static analysis test failure on CLOSED TREE. r=treeherder-red --- dom/media/webrtc/MediaEngineCameraVideoSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/media/webrtc/MediaEngineCameraVideoSource.h b/dom/media/webrtc/MediaEngineCameraVideoSource.h index daa398b5546..f54ab50833a 100644 --- a/dom/media/webrtc/MediaEngineCameraVideoSource.h +++ b/dom/media/webrtc/MediaEngineCameraVideoSource.h @@ -63,7 +63,7 @@ public: protected: struct CapabilityCandidate { - CapabilityCandidate(uint8_t index, uint32_t distance = 0) + explicit CapabilityCandidate(uint8_t index, uint32_t distance = 0) : mIndex(index), mDistance(distance) {} size_t mIndex;