mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +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
|
@ -38,7 +38,7 @@ bool SpuriousInterruptHandler::eoi()
|
|||
return false;
|
||||
}
|
||||
|
||||
const char* SpuriousInterruptHandler::purpose() const
|
||||
StringView SpuriousInterruptHandler::purpose() const
|
||||
{
|
||||
if (!m_real_handler)
|
||||
return "Spurious Interrupt Handler";
|
||||
|
@ -87,7 +87,7 @@ void SpuriousInterruptHandler::disable_interrupt_vector()
|
|||
m_responsible_irq_controller->disable(*this);
|
||||
}
|
||||
|
||||
const char* SpuriousInterruptHandler::controller() const
|
||||
StringView SpuriousInterruptHandler::controller() const
|
||||
{
|
||||
if (m_responsible_irq_controller->type() == IRQControllerType::i82093AA)
|
||||
return "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue