blockstorage: switch from CAutoFile to AutoFile

Also bump includes per suggestions from iwyu.
This commit is contained in:
Anthony Towns
2023-11-15 13:07:28 +10:00
parent c72ddf04db
commit bbd4646a2e
6 changed files with 34 additions and 25 deletions

View File

@@ -28,7 +28,7 @@ FUZZ_TARGET(load_external_block_file, .init = initialize_load_external_block_fil
{
FuzzedDataProvider fuzzed_data_provider{buffer.data(), buffer.size()};
FuzzedFileProvider fuzzed_file_provider{fuzzed_data_provider};
CAutoFile fuzzed_block_file{fuzzed_file_provider.open(), CLIENT_VERSION};
AutoFile fuzzed_block_file{fuzzed_file_provider.open()};
if (fuzzed_block_file.IsNull()) {
return;
}