1
Fork 0
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:
Andreas Kling 2021-08-22 12:48:38 +02:00
parent 492b7152d9
commit 1b9916439f
4 changed files with 6 additions and 6 deletions

View file

@ -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