mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
StringUtil: Make SplitString return by value
Simpler usage.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user