summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh4
1 files changed, 2 insertions, 2 deletions
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<Modification, MemoryDomain::BufferMeta>;
- struct HistoryNode : SafeCountable
+ struct HistoryNode : SafeCountable, UseMemoryDomain<MemoryDomain::BufferMeta>
{
HistoryNode(HistoryNode* parent);
SafePtr<HistoryNode> parent;
UndoGroup undo_group;
- Vector<std::unique_ptr<HistoryNode>> childs;
+ Vector<std::unique_ptr<HistoryNode>, MemoryDomain::BufferMeta> childs;
SafePtr<HistoryNode> redo_child;
};