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
commit 0fab68ee16
Notes: sideshowbarker 2024-07-17 08:43:11 +09:00
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)