1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:07:36 +00:00

Kernel: Remove duplicate constructor from TTY/VirtualConsole

This removes some code dupe from the constructors.

By removing this duplicate constructor we can utilize the main
VirtualConsole::create factory implementation and call that from the
VirtualConsole::create_with_preset_log factory method.
This commit is contained in:
Brian Gianforcaro 2021-10-31 22:39:45 -07:00 committed by Andreas Kling
parent 2c85f65519
commit 71f05c70b4
2 changed files with 8 additions and 19 deletions

View file

@ -87,7 +87,6 @@ public:
private:
explicit VirtualConsole(const unsigned index);
VirtualConsole(const unsigned index, const CircularQueue<char, 16384>&);
// ^KeyboardClient
virtual void on_key_pressed(KeyEvent) override;