@@ -249,7 +249,7 @@ BOOST_AUTO_TEST_CASE(streams_serializedata_xor)
249
249
BOOST_AUTO_TEST_CASE (streams_buffered_file)
250
250
{
251
251
fs::path streams_test_filename = m_args.GetDataDirBase () / " streams_test_tmp" ;
252
- CAutoFile file{fsbridge::fopen (streams_test_filename, " w+b" ), 333 };
252
+ AutoFile file{fsbridge::fopen (streams_test_filename, " w+b" )};
253
253
254
254
// The value at each offset is the offset.
255
255
for (uint8_t j = 0 ; j < 40 ; ++j) {
@@ -380,7 +380,7 @@ BOOST_AUTO_TEST_CASE(streams_buffered_file)
380
380
BOOST_AUTO_TEST_CASE (streams_buffered_file_skip)
381
381
{
382
382
fs::path streams_test_filename = m_args.GetDataDirBase () / " streams_test_tmp" ;
383
- CAutoFile file{fsbridge::fopen (streams_test_filename, " w+b" ), 333 };
383
+ AutoFile file{fsbridge::fopen (streams_test_filename, " w+b" )};
384
384
// The value at each offset is the byte offset (e.g. byte 1 in the file has the value 0x01).
385
385
for (uint8_t j = 0 ; j < 40 ; ++j) {
386
386
file << j;
@@ -433,7 +433,7 @@ BOOST_AUTO_TEST_CASE(streams_buffered_file_rand)
433
433
434
434
fs::path streams_test_filename = m_args.GetDataDirBase () / " streams_test_tmp" ;
435
435
for (int rep = 0 ; rep < 50 ; ++rep) {
436
- CAutoFile file{fsbridge::fopen (streams_test_filename, " w+b" ), 333 };
436
+ AutoFile file{fsbridge::fopen (streams_test_filename, " w+b" )};
437
437
size_t fileSize = InsecureRandRange (256 );
438
438
for (uint8_t i = 0 ; i < fileSize; ++i) {
439
439
file << i;
0 commit comments