mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 08:18:55 +00:00
Kernel: Make Processor::platform_string() return StringView
This commit is contained in:
parent
492b7152d9
commit
1b9916439f
Notes:
sideshowbarker
2024-07-18 05:22:47 +09:00
Author: https://github.com/awesomekling
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