@@ -8,13 +8,14 @@ Date: December 2016
8
8
9
9
\*******************************************************************/
10
10
11
+ #include < unordered_set>
12
+
11
13
#include < analyses/call_graph.h>
12
14
13
15
#include < util/namespace.h>
14
16
#include < util/std_expr.h>
15
17
#include < util/cprover_prefix.h>
16
18
#include < util/prefix.h>
17
- #include < util/hash_cont.h>
18
19
19
20
#include < goto-programs/goto_functions.h>
20
21
#include < goto-programs/remove_skip.h>
@@ -43,7 +44,7 @@ void slice_global_inits(
43
44
const call_grapht::grapht &graph=call_graph.graph ;
44
45
45
46
std::list<irep_idt> worklist;
46
- hash_set_cont <irep_idt, irep_id_hash> functions_reached;
47
+ std::unordered_set <irep_idt, irep_id_hash> functions_reached;
47
48
48
49
const irep_idt entry_point=goto_functionst::entry_point ();
49
50
@@ -91,7 +92,7 @@ void slice_global_inits(
91
92
}
92
93
}
93
94
94
- hash_set_cont <irep_idt, irep_id_hash> symbols;
95
+ std::unordered_set <irep_idt, irep_id_hash> symbols;
95
96
};
96
97
97
98
symbol_collectort visitor;
@@ -111,7 +112,7 @@ void slice_global_inits(
111
112
}
112
113
}
113
114
114
- const hash_set_cont <irep_idt, irep_id_hash> &symbols=visitor.symbols ;
115
+ const std::unordered_set <irep_idt, irep_id_hash> &symbols=visitor.symbols ;
115
116
116
117
// now remove unnecessary initializations
117
118
0 commit comments