1
Fork 0
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:
Gunnar Beutner 2021-05-12 22:47:06 +02:00 committed by Andreas Kling
parent 93c3b6bdd2
commit 8b079a6b0d
4 changed files with 4 additions and 4 deletions

View file

@ -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;