1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:57: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

@ -58,9 +58,9 @@ NAKED void do_assume_context(Thread*, u32)
// clang-format on
}
String Processor::platform_string() const
StringView Processor::platform_string()
{
return "i386";
return "i386"sv;
}
FlatPtr Processor::init_context(Thread& thread, bool leave_crit)