Core: Pass several parameters by const reference

This commit is contained in:
Lioncash committed 2015-06-04 14:19:25 -04:00
1 parent 98ed5881ab
commit d9b51f74be
9 files changed
+16 -16

No files matched your search

+1 -1
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;