1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

LibCoredump: Avoid unnecessary conversion to DeprecatedString

This commit is contained in:
Ben Wiederhake 2023-05-27 14:16:19 +02:00 committed by Andreas Kling
parent fdbdc4d5ff
commit 0fab68ee16
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
namespace Coredump {
OwnPtr<Inspector> Inspector::create(DeprecatedString const& coredump_path, Function<void(float)> on_progress)
OwnPtr<Inspector> Inspector::create(StringView coredump_path, Function<void(float)> on_progress)
{
auto reader = Reader::create(coredump_path);
if (!reader)