Kernel: Make AsyncDeviceRequest::name() return StringView

This commit is contained in:
Andreas Kling 2021-08-05 20:54:37 +02:00
commit 066d3281b5
Notes: sideshowbarker 2024-07-18 22:57:59 +09:00
4 changed files with 6 additions and 6 deletions

View file

@ -118,7 +118,7 @@ bool Thread::JoinBlocker::unblock(void* value, bool from_add_blocker)
return true;
}
Thread::QueueBlocker::QueueBlocker(WaitQueue& wait_queue, const char* block_reason)
Thread::QueueBlocker::QueueBlocker(WaitQueue& wait_queue, StringView block_reason)
: m_block_reason(block_reason)
{
if (!set_block_condition(wait_queue, Thread::current()))