mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17: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
|
@ -26,7 +26,7 @@ public:
|
|||
|
||||
private:
|
||||
// ^TTY
|
||||
virtual String tty_name() const override;
|
||||
virtual String const& tty_name() const override;
|
||||
virtual ssize_t on_tty_write(const UserOrKernelBuffer&, ssize_t) override;
|
||||
virtual void echo(u8) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue