BreakPoints: Fix compile warning

This commit is contained in:
Jasper St. Pierre 2014-10-28 04:28:50 -07:00
parent 64b09582c6
commit d9a1fc1564
2 changed files with 3 additions and 3 deletions

View File

@ -219,7 +219,7 @@ void TMemCheck::Action(DebugInterface *debug_interface, u32 iValue, u32 addr, bo
}
const bool Watches::IsAddressWatch(u32 _iAddress)
bool Watches::IsAddressWatch(u32 _iAddress) const
{
for (const TWatch& bp : m_Watches)
if (bp.iAddress == _iAddress)

View File

@ -118,7 +118,7 @@ public:
TWatchesStr GetStrings() const;
void AddFromStrings(const TWatchesStr& bps);
const bool IsAddressWatch(u32 _iAddress);
bool IsAddressWatch(u32 _iAddress) const;
// Add BreakPoint
void Add(u32 em_address);
@ -135,4 +135,4 @@ public:
private:
TWatches m_Watches;
};
};