mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
WatchView: Pass string by reference in SetWatchName
This commit is contained in:
parent
4497233663
commit
04ee0245e2
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ static void UpdateWatchAddr(int count, u32 value)
|
||||||
PowerPC::watches.Update(count - 1, value);
|
PowerPC::watches.Update(count - 1, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SetWatchName(int count, const std::string value)
|
static void SetWatchName(int count, const std::string& value)
|
||||||
{
|
{
|
||||||
if ((count - 1) < (int)PowerPC::watches.GetWatches().size())
|
if ((count - 1) < (int)PowerPC::watches.GetWatches().size())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue