StringUtil: Make SplitString return by value
Simpler usage.
This commit is contained in:
1 parent
937d72e591
commit
17ef4c8046
11 files changed
+19
-34
No files matched your search
@@ -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