File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -93,10 +93,8 @@ void symbol_tablet::erase(const symbolst::const_iterator &entry)
93
93
{
94
94
const symbolt &symbol=entry->second ;
95
95
96
- symbol_base_mapt::const_iterator base_it =
97
- symbol_base_map.lower_bound (symbol.base_name );
98
- symbol_base_mapt::const_iterator base_it_end =
99
- symbol_base_map.upper_bound (symbol.base_name );
96
+ auto base_it = symbol_base_map.lower_bound (symbol.base_name );
97
+ auto base_it_end = symbol_base_map.upper_bound (symbol.base_name );
100
98
while (base_it!=base_it_end && base_it->second !=symbol.name )
101
99
++base_it;
102
100
INVARIANT (
@@ -109,12 +107,8 @@ void symbol_tablet::erase(const symbolst::const_iterator &entry)
109
107
110
108
if (!symbol.module .empty ())
111
109
{
112
- symbol_module_mapt::const_iterator module_it =
113
- symbol_module_map.lower_bound (
114
- symbol.module ),
115
- module_it_end =
116
- symbol_module_map.upper_bound (
117
- symbol.module );
110
+ auto module_it = symbol_module_map.lower_bound (symbol.module );
111
+ auto module_it_end = symbol_module_map.upper_bound (symbol.module );
118
112
while (module_it != module_it_end && module_it->second != symbol.name )
119
113
++module_it;
120
114
INVARIANT (
You can’t perform that action at this time.
0 commit comments