video_core: Resolve -Wreorder warnings

Ensures that the constructor members are always initialized in the order
that they're declared in.
This commit is contained in:
Lioncash 2019-07-16 11:38:48 -04:00
parent fcc59b55f7
commit f6250ef163
2 changed files with 3 additions and 4 deletions

View file

@ -58,7 +58,7 @@ struct BlockInfo {
struct CFGRebuildState {
explicit CFGRebuildState(const ProgramCode& program_code, const std::size_t program_size,
const u32 start)
: program_code{program_code}, program_size{program_size}, start{start} {}
: start{start}, program_code{program_code}, program_size{program_size} {}
u32 start{};
std::vector<BlockInfo> block_info{};