1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-22 11:01:48 +03:00

Small layout tweak for Buffer::HistoryNode

This commit is contained in:
Maxime Coste 2017-02-06 13:33:20 +00:00
parent cb2e1a17b3
commit 45b145f540

View File

@ -249,17 +249,17 @@ private:
String m_display_name;
Flags m_flags;
using UndoGroup = Vector<Modification, MemoryDomain::BufferMeta>;
using UndoGroup = Vector<Modification, MemoryDomain::BufferMeta>;
struct HistoryNode : SafeCountable, UseMemoryDomain<MemoryDomain::BufferMeta>
{
HistoryNode(size_t id, HistoryNode* parent);
size_t id;
SafePtr<HistoryNode> parent;
UndoGroup undo_group;
Vector<std::unique_ptr<HistoryNode>, MemoryDomain::BufferMeta> childs;
SafePtr<HistoryNode> parent;
SafePtr<HistoryNode> redo_child;
size_t id;
TimePoint timepoint;
};