diff options
| author | Tilka <tilkax@gmail.com> | 2017-06-11 16:05:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-11 16:05:14 +0100 |
| commit | 1bf62cc0846fb295356c7f2a090d690c9ee8c57c (patch) | |
| tree | c878aa70b36738fd77fa9300ce63b87713b23aff /Source/Core/DolphinWX/Debugger/CodeView.cpp | |
| parent | 937d72e59192be43da89e44a0d9f1dbf10ac7a94 (diff) | |
| parent | 17ef4c8046fd9eccdf074b72ceb981710552a6b1 (diff) | |
Merge pull request #5596 from leoetlino/return-by-value
StringUtil: Make SplitString return by value
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeView.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/CodeView.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeView.cpp b/Source/Core/DolphinWX/Debugger/CodeView.cpp index 337e0e2972..6e7b4dadca 100644 --- a/Source/Core/DolphinWX/Debugger/CodeView.cpp +++ b/Source/Core/DolphinWX/Debugger/CodeView.cpp @@ -564,8 +564,7 @@ void CCodeView::OnPaint(wxPaintEvent& event) // If running if (m_debugger->IsAlive()) { - std::vector<std::string> dis; - SplitString(m_debugger->Disassemble(address), '\t', dis); + std::vector<std::string> dis = SplitString(m_debugger->Disassemble(address), '\t'); dis.resize(2); static const size_t VALID_BRANCH_LENGTH = 10; |
