From d950b8dc9083c356dc0dea0e7886b44e03c8d3e9 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 9 Sep 2020 23:44:53 -0700 Subject: [PATCH] Initialize graph indegree. --- code/compiler/13/graph.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/compiler/13/graph.hpp b/code/compiler/13/graph.hpp index 2807442..8a654aa 100644 --- a/code/compiler/13/graph.hpp +++ b/code/compiler/13/graph.hpp @@ -23,6 +23,8 @@ class function_graph { std::set functions; std::set adjacency_list; size_t indegree; + + group_data() : indegree(0) {} }; using data_ptr = std::shared_ptr;