mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 13:48:25 +00:00
Kernel: Remove redundant (K)String::characters() calls
This commit is contained in:
committed by
Andreas Kling
parent
1d2f78682b
commit
2175c689ef
@@ -286,7 +286,7 @@ ErrorOr<void> Process::procfs_get_tty_link(KBufferBuilder& builder) const
|
||||
{
|
||||
if (m_tty.is_null())
|
||||
return Error::from_errno(ENOENT);
|
||||
return builder.append(m_tty->tty_name().characters());
|
||||
return builder.append(m_tty->tty_name().view());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user