common/core: Silence initialization order warnings

This commit is contained in:
Lioncash 2017-12-10 19:50:45 -05:00
parent 9699194b54
commit c31f932afe
5 changed files with 7 additions and 7 deletions

View file

@ -190,7 +190,7 @@ MappedBuffer& HLERequestContext::GetMappedBuffer(u32 id_from_cmdbuf) {
}
MappedBuffer::MappedBuffer(const Process& process, u32 descriptor, VAddr address, u32 id)
: process(&process), address(address), id(id) {
: id(id), address(address), process(&process) {
IPC::MappedBufferDescInfo desc{descriptor};
size = desc.size;
perms = desc.perms;