Making string concatenations more efficent (#760)
by appending wchar_ts instead of wstrings
This commit is contained in:
committed by
Matt Cooley
parent
6366e0c535
commit
5e46ceabc8
@@ -1324,8 +1324,7 @@ void StandardCalculatorViewModel::SaveEditedCommand(_In_ unsigned int tokenPosit
|
||||
}
|
||||
if ((token.first.length() > 0) && (token.first[token.first.length() - 1] == L'('))
|
||||
{
|
||||
wstring chOpenBrace = L"(";
|
||||
updatedToken.append(chOpenBrace);
|
||||
updatedToken += L'(';
|
||||
}
|
||||
}
|
||||
else if (IsBinOp(nOpCode))
|
||||
|
||||
Reference in New Issue
Block a user