From ac7a17579eea61c627bcf76b5758718e64caeeb4 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Thu, 2 Feb 2023 16:14:46 -0800 Subject: [PATCH] BreakPoints: Fix shadowing warning --- Source/Core/Core/PowerPC/BreakPoints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/BreakPoints.cpp b/Source/Core/Core/PowerPC/BreakPoints.cpp index be2ae192e1..9e3a21c3bc 100644 --- a/Source/Core/Core/PowerPC/BreakPoints.cpp +++ b/Source/Core/Core/PowerPC/BreakPoints.cpp @@ -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;