degrade History and it's not template now
because there's no need to make command type a template parameter
This commit is contained in:
@@ -130,7 +130,7 @@ class Network final : public nf7::File,
|
||||
private:
|
||||
ItemId next_ = 1;
|
||||
|
||||
nf7::SquashedHistory<nf7::History::Command> history_;
|
||||
nf7::SquashedHistory history_;
|
||||
|
||||
std::unordered_map<ItemId, Item*> item_map_;
|
||||
std::unordered_map<const Node*, Item*> node_map_;
|
||||
|
@@ -103,7 +103,7 @@ class TL final : public nf7::File, public nf7::DirItem, public nf7::Node {
|
||||
}
|
||||
|
||||
private:
|
||||
nf7::SquashedHistory<History::Command> history_;
|
||||
nf7::SquashedHistory history_;
|
||||
|
||||
std::shared_ptr<TL::Lambda> lambda_;
|
||||
std::vector<std::weak_ptr<TL::Lambda>> lambdas_running_;
|
||||
|
Reference in New Issue
Block a user