LibVT: Make Terminal::Line non-copyable and non-movable

This commit is contained in:
Andreas Kling 2020-05-09 13:20:01 +02:00
parent 9c927538ad
commit b65ca3b944
Notes: sideshowbarker 2024-07-19 06:49:01 +09:00

View file

@ -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);