mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-08 18:01:00 -04:00
Core: Pass several parameters by const reference
This commit is contained in:
@@ -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