summaryrefslogtreecommitdiff
path: root/Kernel/SlavePTY.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/SlavePTY.h')
-rw-r--r--Kernel/SlavePTY.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/SlavePTY.h b/Kernel/SlavePTY.h
index 773dcee6b4..1b01219349 100644
--- a/Kernel/SlavePTY.h
+++ b/Kernel/SlavePTY.h
@@ -5,13 +5,13 @@
class MasterPTY;
class SlavePTY final : public TTY {
- AK_MAKE_ETERNAL
public:
virtual ~SlavePTY() override;
virtual String tty_name() const override;
void on_master_write(const byte*, size_t);
+ unsigned index() const { return m_index; }
protected:
virtual void on_tty_write(const byte*, size_t) override;