From e391f93a9e1dbf7e087a34bd0b040ef348cce506 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 20 Jul 2016 08:39:36 +0100 Subject: [PATCH] Set memory domains for Buffer::HistoryNode --- src/buffer.hh | 4 ++-- 1 file 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; - struct HistoryNode : SafeCountable + struct HistoryNode : SafeCountable, UseMemoryDomain { HistoryNode(HistoryNode* parent); SafePtr parent; UndoGroup undo_group; - Vector> childs; + Vector, MemoryDomain::BufferMeta> childs; SafePtr redo_child; };