mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 21:28:59 +00:00
Userland: Avoid some now-unneeded explicit conversions to Bytes
This commit is contained in:
parent
e0bddbb65e
commit
c23060e21b
Notes:
sideshowbarker
2024-07-17 01:51:00 +09:00
Author: https://github.com/trflynn89
Commit: c23060e21b
Pull-request: https://github.com/SerenityOS/serenity/pull/23830
Reviewed-by: https://github.com/shannonbooth ✅
15 changed files with 39 additions and 40 deletions
|
@ -320,7 +320,7 @@ void write_per_file(HashMap<size_t, TestResult> const& result_map, Vector<ByteSt
|
|||
complete_results.set("duration", time_taken_in_ms / 1000.);
|
||||
complete_results.set("results", result_object);
|
||||
|
||||
if (file->write_until_depleted(complete_results.to_byte_string().bytes()).is_error())
|
||||
if (file->write_until_depleted(complete_results.to_byte_string()).is_error())
|
||||
warnln("Failed to write per-file");
|
||||
file->close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue