mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 18:23:15 +02:00
Performance tweak.
This commit is contained in:
parent
0e5a87546b
commit
b7fee045e3
@ -1368,8 +1368,7 @@ std::vector<wxString> EXPRESSION_EVALUATOR::ExtractExpressions( const wxString&
|
|||||||
|
|
||||||
if( end != wxString::npos )
|
if( end != wxString::npos )
|
||||||
{
|
{
|
||||||
wxString expression = aInput.substr( start, end - start );
|
expressions.push_back( aInput.substr( start, end - start ) );
|
||||||
expressions.push_back( expression );
|
|
||||||
pos = end + 1;
|
pos = end + 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user