[bootable][recovery] fix -Wreorder-init-list

C++20 will require members in a designated initializer to be in order
unlike C99.

Bug: 139945549
Test: mm
Change-Id: I6f8d658448f7e5dd980bf95b890b15cb0aab7407
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
This commit is contained in:
Nick Desaulniers 2019-10-10 16:33:58 -07:00
parent 47bb0c8b59
commit 1cb510d96f

View file

@ -54,7 +54,11 @@ void load_volume_table() {
}
fstab.emplace_back(FstabEntry{
.mount_point = "/tmp", .fs_type = "ramdisk", .blk_device = "ramdisk", .length = 0 });
.blk_device = "ramdisk",
.mount_point = "/tmp",
.fs_type = "ramdisk",
.length = 0,
});
std::cout << "recovery filesystem table" << std::endl << "=========================" << std::endl;
for (size_t i = 0; i < fstab.size(); ++i) {