BreakPoints: Fix shadowing warning

This commit is contained in:
Pokechu22 2023-02-02 16:14:46 -08:00
parent 3bd655463d
commit ac7a17579e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ bool BreakPoints::IsTempBreakPoint(u32 address) const
const TBreakPoint* BreakPoints::GetBreakpoint(u32 address) const
{
auto bp = std::find_if(m_breakpoints.begin(), m_breakpoints.end(),
[address](const auto& bp) { return bp.address == address; });
[address](const auto& bp_) { return bp_.address == address; });
if (bp == m_breakpoints.end())
return nullptr;