1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:18:12 +00:00

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

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