Initialize graph indegree.
This commit is contained in:
parent
c7b2a4959f
commit
adc95c8d04
|
@ -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>;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user