Former-commit-id: eb4a91c3bd2ddbe22994c8c5d856cfa6dce31fee
pull/191/head
Yu Kun 2019-09-02 15:53:11 +08:00
parent cdd2b08901
commit 600387fba4
1 changed files with 2 additions and 2 deletions

View File

@ -204,8 +204,8 @@ class Resource : public Node, public std::enable_shared_from_this<Resource> {
TaskTable task_table_;
uint64_t total_cost_ = 10;
uint64_t total_task_ = 10;
uint64_t total_cost_ = 0;
uint64_t total_task_ = 0;
std::map<RegisterType, std::function<RegisterHandlerPtr()>> register_table_;
std::function<void(EventPtr)> subscriber_ = nullptr;