[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:
parent
47bb0c8b59
commit
1cb510d96f
1 changed files with 5 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue