diff options
author | smf- <smf-@users.noreply.github.com> | 2020-01-24 00:59:30 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2020-01-24 00:59:30 +0000 |
commit | 92bd148e05aa7a20888ebeb5c3a95326a5c621b7 (patch) | |
tree | cc4ee5b74ec3d1bb9106dd819bd7ea7c051817b6 /src/osd | |
parent | bfa780897571b338ccef0d788b6089e8b3829c2b (diff) |
fix build with clang 9.0.0 on windows
../../../../../src/osd/modules/input/input_winhybrid.cpp:107:16: error: suggest braces around initialization of
subobject [-Werror,-Wmissing-braces]
: m_variant({0})
Diffstat (limited to 'src/osd')
-rw-r--r-- | src/osd/modules/input/input_winhybrid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/input/input_winhybrid.cpp b/src/osd/modules/input/input_winhybrid.cpp index 1436ae009d6..ed6d88fd26b 100644 --- a/src/osd/modules/input/input_winhybrid.cpp +++ b/src/osd/modules/input/input_winhybrid.cpp @@ -104,8 +104,8 @@ private: public: variant_wrapper() - : m_variant({0}) { + VariantInit(&m_variant); } ~variant_wrapper() |