-
Igor Britsky authored
For GCC 8.4.0 is important to get all the first initializer in designated init-list in case of implicit construction. Correct compile if use explicit construction. Error example (GCC 8.4.0): In file included from ../../ui/gfx/x/event.h:14, from ../../ui/events/platform/x11/x11_event_source.h:19, from ../../ui/events/platform/x11/x11_event_source.cc:5: gen/ui/gfx/x/xproto.h:2744:16: note: candidate: 'x11::Future<void> x11::XProto::CreateWindow(const x11::CreateWindowRequest&)' gen/ui/gfx/x/xproto.h:2744:16: note: no known conversion for argument 1 from '<brace-enclosed initializer list>' to 'const x11:: CreateWindowRequest&' ../../ui/events/platform/x11/x11_event_source.cc:201:4: error: no matching function for call to 'x11::Connection::ChangeProperty(<brace- enclosed initializer list>)' Bug: 819294 Change-Id: I604af19e3c441bbb788d0b6094c52f12df49269e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2506431Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#822708}
3e42afb9