Set memory domains for Buffer::HistoryNode
This commit is contained in:
parent
2296b43299
commit
e391f93a9e
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user