Core: Pass several parameters by const reference
This commit is contained in:
1 parent
98ed5881ab
commit
d9b51f74be
9 files changed
+16
-16
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user