diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2017-08-21 21:24:36 +0300 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2017-08-28 00:14:47 +0300 |
commit | 368ae24bdf839ff538d81674be46b9588b5f9e5b (patch) | |
tree | 3f5d47c3629d13e69bb79a3aff731e2cf3a76f54 | |
parent | 90c2393a8a59fba67f36f6f802a3ca2fbfce6be5 (diff) |
AppSettings: Fix initialization order in wmcmd_base constructor.
-rw-r--r-- | src/mpc-hc/AppSettings.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mpc-hc/AppSettings.h b/src/mpc-hc/AppSettings.h index 759d54c62..9dfb1fb3d 100644 --- a/src/mpc-hc/AppSettings.h +++ b/src/mpc-hc/AppSettings.h @@ -276,17 +276,17 @@ struct wmcmd_base : public ACCEL { wmcmd_base()
: ACCEL( { 0, 0, 0 })
- , dwname(0)
- , appcmd(0)
, mouse(NONE)
- , mouseFS(NONE) {}
+ , mouseFS(NONE)
+ , dwname(0)
+ , appcmd(0) {}
constexpr wmcmd_base(WORD _cmd, WORD _key, BYTE _fVirt, DWORD _dwname, UINT _appcmd = 0, BYTE _mouse = NONE, BYTE _mouseFS = NONE)
: ACCEL{ _fVirt, _key, _cmd }
- , dwname(_dwname)
- , appcmd(_appcmd)
, mouse(_mouse)
- , mouseFS(_mouseFS) {}
+ , mouseFS(_mouseFS)
+ , dwname(_dwname)
+ , appcmd(_appcmd) {}
constexpr wmcmd_base(const wmcmd_base&) = default;
constexpr wmcmd_base(wmcmd_base&&) = default;
|