diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-09-11 17:30:31 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-09-12 12:35:13 +0200 |
commit | fa2f2413b87f5fc1e5c92bf510beebdcd0091714 (patch) | |
tree | 5da2331d1f813401b6f2796edff9d366cb8ed944 /src/bench | |
parent | 5c2b3cd4b856f1bb536daaf7f576b1b1b42293ca (diff) |
Remove unused GetType() from CBufferedFile and CAutoFile
GetType() is only called in tests, so it is unused and can be removed.
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/streams_findbyte.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/streams_findbyte.cpp b/src/bench/streams_findbyte.cpp index 77f5940926..451b5f758d 100644 --- a/src/bench/streams_findbyte.cpp +++ b/src/bench/streams_findbyte.cpp @@ -16,7 +16,7 @@ static void FindByte(benchmark::Bench& bench) data[file_size-1] = 1; fwrite(&data, sizeof(uint8_t), file_size, file); rewind(file); - CBufferedFile bf(file, /*nBufSize=*/file_size + 1, /*nRewindIn=*/file_size, 0, 0); + CBufferedFile bf{file, /*nBufSize=*/file_size + 1, /*nRewindIn=*/file_size, 0}; bench.run([&] { bf.SetPos(0); |