mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
Kernel: Make various T::class_name() and similar return StringView
Instead of returning char const*, we can also give you a StringView.
This commit is contained in:
parent
fa9111ac46
commit
c9f6786e8b
58 changed files with 72 additions and 72 deletions
|
@ -72,7 +72,7 @@ String DiskPartition::device_name() const
|
|||
return String::formatted("{}{}", m_device->device_name(), partition_index + 1);
|
||||
}
|
||||
|
||||
const char* DiskPartition::class_name() const
|
||||
StringView DiskPartition::class_name() const
|
||||
{
|
||||
return "DiskPartition";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue