Permalink
Browse files

Merge pull request #6942 from lioncash/const

BreakPoints: Make OverlapsMemcheck() a const member function
  • Loading branch information...
leoetlino committed May 22, 2018
2 parents 5ac0572 + 22ece80 commit 43680f314c87339524ca04e817483e89c367529d
Showing with 2 additions and 2 deletions.
  1. +1 −1 Source/Core/Core/PowerPC/BreakPoints.cpp
  2. +1 −1 Source/Core/Core/PowerPC/BreakPoints.h
@@ -210,7 +210,7 @@ TMemCheck* MemChecks::GetMemCheck(u32 address, size_t size)
return &*iter;
}
bool MemChecks::OverlapsMemcheck(u32 address, u32 length)
bool MemChecks::OverlapsMemcheck(u32 address, u32 length) const
{
if (!HasAny())
return false;
@@ -81,7 +81,7 @@ class MemChecks
// memory breakpoint
TMemCheck* GetMemCheck(u32 address, size_t size = 1);
bool OverlapsMemcheck(u32 address, u32 length);
bool OverlapsMemcheck(u32 address, u32 length) const;
void Remove(u32 address);
void Clear() { m_mem_checks.clear(); }

0 comments on commit 43680f3

Please sign in to comment.