summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-02-06 13:33:20 +0000
committerMaxime Coste <mawww@kakoune.org>2017-02-06 13:33:20 +0000
commit45b145f5403a18726d5ddc4f5ec79aec5c26e8fa (patch)
tree83fb5126a0aea3990e858feb839ed852195a5626 /src/buffer.hh
parentcb2e1a17b309618e1bbea2a5b06968828a5f5ae6 (diff)
Small layout tweak for Buffer::HistoryNode
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index a43458d2..f449e863 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -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;
};