mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +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:
@@ -27,7 +27,7 @@ StorageDevice::StorageDevice(const StorageController& controller, int major, int
|
||||
{
|
||||
}
|
||||
|
||||
const char* StorageDevice::class_name() const
|
||||
StringView StorageDevice::class_name() const
|
||||
{
|
||||
return "StorageDevice";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user