diff options
| author | 2022-08-30 16:23:34 -0400 | |
|---|---|---|
| committer | 2022-08-31 06:23:34 +1000 | |
| commit | c71ea3952691a20e83c1a9a611bc94b6565d1c91 (patch) | |
| tree | 33c17f4cd474bf7a4b954dce2dbc9ae6dc437113 | |
| parent | 03355075d81672b2c103a674e03cc8b6ec20c832 (diff) | |
formats/fs_fat.cpp: Fixe use-after-std::move() issue in constructor. (#10296)
| -rw-r--r-- | src/lib/formats/fs_fat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/fs_fat.cpp b/src/lib/formats/fs_fat.cpp index e60d1dcfa5c..a2e5a4a5cc1 100644 --- a/src/lib/formats/fs_fat.cpp +++ b/src/lib/formats/fs_fat.cpp @@ -483,7 +483,7 @@ impl::impl(fsblk_t &blockdev, fsblk_t::block_t &&boot_sector_block, std::vector< , m_starting_sector(starting_sector) , m_sector_count(sector_count) , m_reserved_sector_count(reserved_sector_count) - , m_bytes_per_sector(boot_sector_block.r16l(11)) + , m_bytes_per_sector(m_boot_sector_block.r16l(11)) , m_bits_per_fat_entry(bits_per_fat_entry) { } |
