@@ -33,8 +33,8 @@ void BreakpointLocationCollection::Add(const BreakpointLocationSP &bp_loc) {
3333 lldb::break_id_t bp_loc_id = bp_loc->GetID ();
3434 Breakpoint &bkpt = bp_loc->GetBreakpoint ();
3535 lldb::break_id_t bp_id = bkpt.GetID ();
36- std::pair<lldb::break_id_t , lldb::break_id_t > key
37- = std::make_pair (bp_id, bp_loc_id);
36+ std::pair<lldb::break_id_t , lldb::break_id_t > key =
37+ std::make_pair (bp_id, bp_loc_id);
3838 auto entry = m_preserved_bps.find (key);
3939 if (entry == m_preserved_bps.end ())
4040 m_preserved_bps.emplace (key, bkpt.shared_from_this ());
@@ -48,8 +48,8 @@ bool BreakpointLocationCollection::Remove(lldb::break_id_t bp_id,
4848 collection::iterator pos = GetIDPairIterator (bp_id, bp_loc_id); // Predicate
4949 if (pos != m_break_loc_collection.end ()) {
5050 if (m_preserving_bkpts) {
51- std::pair<lldb::break_id_t , lldb::break_id_t > key
52- = std::make_pair (bp_id, bp_loc_id);
51+ std::pair<lldb::break_id_t , lldb::break_id_t > key =
52+ std::make_pair (bp_id, bp_loc_id);
5353 auto entry = m_preserved_bps.find (key);
5454 if (entry == m_preserved_bps.end ())
5555 assert (0 && " Breakpoint added to collection but not preserving map." );
0 commit comments