mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 16:52:46 +01:00
control_flow: Silence -Wreorder warning for CFGRebuildState
Organizes the initializer list in the same order that the variables would actually be initialized in.
This commit is contained in:
parent
55f95e7f26
commit
a1eee1749e
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ struct BlockInfo {
|
||||||
|
|
||||||
struct CFGRebuildState {
|
struct CFGRebuildState {
|
||||||
explicit CFGRebuildState(const ProgramCode& program_code, u32 start, ConstBufferLocker& locker)
|
explicit CFGRebuildState(const ProgramCode& program_code, u32 start, ConstBufferLocker& locker)
|
||||||
: program_code{program_code}, start{start}, locker{locker} {}
|
: program_code{program_code}, locker{locker}, start{start} {}
|
||||||
|
|
||||||
const ProgramCode& program_code;
|
const ProgramCode& program_code;
|
||||||
ConstBufferLocker& locker;
|
ConstBufferLocker& locker;
|
||||||
|
|
Loading…
Reference in a new issue