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:
parent
2c85f65519
commit
71f05c70b4
2 changed files with 8 additions and 19 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue