summaryrefslogtreecommitdiff
path: root/Kernel/TTY/VirtualConsole.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/TTY/VirtualConsole.h')
-rw-r--r--Kernel/TTY/VirtualConsole.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/TTY/VirtualConsole.h b/Kernel/TTY/VirtualConsole.h
index 78dbba425f..5f946357da 100644
--- a/Kernel/TTY/VirtualConsole.h
+++ b/Kernel/TTY/VirtualConsole.h
@@ -35,7 +35,7 @@ private:
// ^TTY
virtual ssize_t on_tty_write(const UserOrKernelBuffer&, ssize_t) override;
- virtual String tty_name() const override { return m_tty_name; }
+ virtual String const& tty_name() const override { return m_tty_name; }
virtual void echo(u8) override;
// ^TerminalClient