mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:48:13 +00:00
LibELF: Make get_library_name() take String instead of StringView
This commit is contained in:
parent
a1a6d30b54
commit
94b247c5a9
1 changed files with 2 additions and 2 deletions
|
@ -113,9 +113,9 @@ static void map_library(const String& name)
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
static String get_library_name(const StringView& path)
|
||||
static String get_library_name(String path)
|
||||
{
|
||||
return LexicalPath(path).basename();
|
||||
return LexicalPath(move(path)).basename();
|
||||
}
|
||||
|
||||
static Vector<String> get_dependencies(const String& name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue