diff options
author | fanquake <fanquake@gmail.com> | 2021-12-24 16:19:02 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-01-26 22:08:19 +0800 |
commit | 21f781ad7921ebda9f38a6be362e23750d8cd5a6 (patch) | |
tree | a32a921d64bdf482fbbca9f14d466fbdf1d2877e /src/test | |
parent | e3699b71c46bf66cfe363fc76ab8761dc39555a7 (diff) |
fs: consistently use fsbridge for {i,o}fstream
Part of #20744, but this can be done now, and will simplify the diff.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/fuzz/fuzz.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzz.cpp b/src/test/fuzz/fuzz.cpp index e9debd8c45..60c48e7c22 100644 --- a/src/test/fuzz/fuzz.cpp +++ b/src/test/fuzz/fuzz.cpp @@ -80,7 +80,7 @@ void initialize() } if (const char* out_path = std::getenv("WRITE_ALL_FUZZ_TARGETS_AND_ABORT")) { std::cout << "Writing all fuzz target names to '" << out_path << "'." << std::endl; - std::ofstream out_stream(out_path, std::ios::binary); + fsbridge::ofstream out_stream{out_path, std::ios::binary}; for (const auto& t : FuzzTargets()) { if (std::get<2>(t.second)) continue; out_stream << t.first << std::endl; |