Initialize graph indegree.

This commit is contained in:
Danila Fedorin 2020-09-09 23:44:53 -07:00
parent 85394b185d
commit d950b8dc90

View File

@ -23,6 +23,8 @@ class function_graph {
std::set<function> functions; std::set<function> functions;
std::set<group_id> adjacency_list; std::set<group_id> adjacency_list;
size_t indegree; size_t indegree;
group_data() : indegree(0) {}
}; };
using data_ptr = std::shared_ptr<group_data>; using data_ptr = std::shared_ptr<group_data>;