mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
Kernel: Make Processor::platform_string() return StringView
This commit is contained in:
parent
492b7152d9
commit
1b9916439f
4 changed files with 6 additions and 6 deletions
|
@ -53,9 +53,9 @@ NAKED void do_assume_context(Thread*, u32)
|
|||
// clang-format on
|
||||
}
|
||||
|
||||
String Processor::platform_string() const
|
||||
StringView Processor::platform_string()
|
||||
{
|
||||
return "x86_64";
|
||||
return "x86_64"sv;
|
||||
}
|
||||
|
||||
// FIXME: For the most part this is a copy of the i386-specific function, get rid of the code duplication
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue