Initialize graph indegree.

This commit is contained in:
Danila Fedorin 2020-09-09 23:44:53 -07:00
parent c7b2a4959f
commit adc95c8d04

View File

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