1
1
Fork 0
forked from suyu/suyu

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:
Lioncash 2020-01-14 13:28:46 -05:00
parent 55f95e7f26
commit a1eee1749e

View file

@ -65,7 +65,7 @@ struct BlockInfo {
struct CFGRebuildState {
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;
ConstBufferLocker& locker;