Rely on std::filesystem for file_utils (#3042)

Co-authored-by: Andrew Johnson <git.vyveu@simplelogin.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Andrew Johnson 2025-01-27 23:31:59 -08:00 committed by GitHub
parent a8768b7845
commit 8626ce5c43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 53 additions and 67 deletions

View file

@ -446,10 +446,9 @@ void finalize_batch()
// Write a continously-overwritten source point if requested.
if (settings::source_latest) {
// note: correct file extension appended automatically
auto filename = settings::path_output + "source";
gsl::span<SourceSite> bankspan(simulation::source_bank);
write_source_point(filename.c_str(), bankspan, simulation::work_index,
write_source_point(filename, bankspan, simulation::work_index,
settings::source_mcpl_write);
}
}