mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibVT: Make Terminal::Line non-copyable and non-movable
This commit is contained in:
parent
9c927538ad
commit
b65ca3b944
Notes:
sideshowbarker
2024-07-19 06:49:01 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b65ca3b944d
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/NonnullOwnPtrVector.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
|
@ -104,6 +105,9 @@ public:
|
|||
u16 cursor_row() const { return m_cursor_row; }
|
||||
|
||||
struct Line {
|
||||
AK_MAKE_NONCOPYABLE(Line);
|
||||
AK_MAKE_NONMOVABLE(Line);
|
||||
public:
|
||||
explicit Line(u16 columns);
|
||||
~Line();
|
||||
void clear(Attribute);
|
||||
|
|
Loading…
Reference in a new issue