mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-15 21:41:43 +00:00
StringUtil: Make SplitString return by value
Simpler usage.
This commit is contained in:
parent
937d72e591
commit
17ef4c8046
11 changed files with 19 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue