Set memory domains for Buffer::HistoryNode

This commit is contained in:
Maxime Coste 2016-07-20 08:39:36 +01:00
parent 2296b43299
commit e391f93a9e

View File

@ -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;
};