Commit 546fd757 authored by Nico Weber's avatar Nico Weber

clang/win: Fix compile error.

Const member variables must be set in constructors.

BUG=82385
TBR=perkj

Review URL: https://codereview.chromium.org/917183003

Cr-Commit-Position: refs/heads/master@{#316281}
parent c70da70c
......@@ -18,7 +18,7 @@ namespace media {
struct CapabilityWin {
CapabilityWin(int index, const VideoCaptureFormat& format)
: stream_index(index), supported_format(format) {}
: stream_index(index), supported_format(format), info_header() {}
// Used by VideoCaptureDeviceWin.
CapabilityWin(int index, const VideoCaptureFormat& format,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment