Skip to content

Commit 57bae7b

Browse files
Use auto for iterator type
1 parent 4ae5b6b commit 57bae7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/goto-symex/goto_symex_state.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,7 @@ bool goto_symex_statet::l2_thread_read_encoding(
470470
guardt write_guard;
471471
write_guard.add(false_exprt());
472472

473-
written_in_atomic_sectiont::const_iterator a_s_writes=
474-
written_in_atomic_section.find(ssa_l1);
473+
const auto a_s_writes = written_in_atomic_section.find(ssa_l1);
475474
if(a_s_writes!=written_in_atomic_section.end())
476475
{
477476
for(a_s_w_entryt::const_iterator it=a_s_writes->second.begin();

0 commit comments

Comments
 (0)