mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-28 17:13:00 +03:00
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>;
|
using UndoGroup = Vector<Modification, MemoryDomain::BufferMeta>;
|
||||||
|
|
||||||
struct HistoryNode : SafeCountable
|
struct HistoryNode : SafeCountable, UseMemoryDomain<MemoryDomain::BufferMeta>
|
||||||
{
|
{
|
||||||
HistoryNode(HistoryNode* parent);
|
HistoryNode(HistoryNode* parent);
|
||||||
|
|
||||||
SafePtr<HistoryNode> parent;
|
SafePtr<HistoryNode> parent;
|
||||||
UndoGroup undo_group;
|
UndoGroup undo_group;
|
||||||
Vector<std::unique_ptr<HistoryNode>> childs;
|
Vector<std::unique_ptr<HistoryNode>, MemoryDomain::BufferMeta> childs;
|
||||||
SafePtr<HistoryNode> redo_child;
|
SafePtr<HistoryNode> redo_child;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user