diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-24 06:09:31 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-24 06:27:16 +0300 |
commit | c69a581c0b951d219f1501a8ceb7040bdf36e51c (patch) | |
tree | 3aec58d35355d0735d4fc54497652dfca87263ec /source/blender/windowmanager/wm_event_types.h | |
parent | abf30007abdac2a5bf3a12c90649a42294aad660 (diff) |
Cleanup: avoid positional struct initialization
When moving to C++ field for initialization was removed.
Favor assignments to field names as it reads better and avoids bugs if
files are ever re-arranged as well as mistakes (see T94784).
Note that the generated optimized output is identical with GCC11.
Diffstat (limited to 'source/blender/windowmanager/wm_event_types.h')
0 files changed, 0 insertions, 0 deletions