mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-01 16:33:05 +00: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
|
@ -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