diff --git a/src/buffer.hh b/src/buffer.hh index 1ba21b73..2bc1e098 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -242,13 +242,13 @@ private: using UndoGroup = Vector; - struct HistoryNode : SafeCountable + struct HistoryNode : SafeCountable, UseMemoryDomain { HistoryNode(HistoryNode* parent); SafePtr parent; UndoGroup undo_group; - Vector> childs; + Vector, MemoryDomain::BufferMeta> childs; SafePtr redo_child; };