Merge pull request #1555 from lioncash/ref
WatchView: Pass string by reference in SetWatchName
This commit is contained in:
commit
43b8749c60
|
@ -56,7 +56,7 @@ static void UpdateWatchAddr(int count, u32 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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue