mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:47:44 +00:00
Kernel: Avoid unnecessary allocations for TTY::tty_name()
This commit is contained in:
parent
93c3b6bdd2
commit
8b079a6b0d
4 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ SlavePTY::~SlavePTY()
|
|||
DevPtsFS::unregister_slave_pty(*this);
|
||||
}
|
||||
|
||||
String SlavePTY::tty_name() const
|
||||
String const& SlavePTY::tty_name() const
|
||||
{
|
||||
return m_tty_name;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue