diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-11-15 18:02:10 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-11-15 18:02:10 -0500 |
| commit | 43b8749c6086aaabbf241875b34c3d7a43f6a112 (patch) | |
| tree | 1e08d706076f412a86b10b6f06073e046034413d /Source/Core/DolphinWX/Debugger/WatchView.cpp | |
| parent | 4ce1b33e55f9b608bd97f5d71bf517af3622b3c5 (diff) | |
| parent | 04ee0245e21a43d468deeb636ef00d5528718274 (diff) | |
Merge pull request #1555 from lioncash/ref
WatchView: Pass string by reference in SetWatchName
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/WatchView.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/WatchView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/WatchView.cpp b/Source/Core/DolphinWX/Debugger/WatchView.cpp index d5d6913a66..13baf3660a 100644 --- a/Source/Core/DolphinWX/Debugger/WatchView.cpp +++ b/Source/Core/DolphinWX/Debugger/WatchView.cpp @@ -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()) { |
