mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-29 07:48:33 +00:00
Core: Pass several parameters by const reference
This commit is contained in:
parent
98ed5881ab
commit
d9b51f74be
9 changed files with 16 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue