Initialize graph indegree.
This commit is contained in:
parent
85394b185d
commit
d950b8dc90
|
@ -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