Core: Pass several parameters by const reference

This commit is contained in:
Lioncash 2015-06-04 14:06:22 -04:00
parent 98ed5881ab
commit d9b51f74be
9 changed files with 16 additions and 16 deletions

View file

@ -33,7 +33,7 @@ bool GeckoCode::Exist(u32 address, u32 data) const
}
// return true if the code is identical
bool GeckoCode::Compare(GeckoCode compare) const
bool GeckoCode::Compare(const GeckoCode& compare) const
{
if (codes.size() != compare.codes.size())
return false;