Updating code to append a wchar_t instead of const wchar_t (#778)

This commit is contained in:
Scott Freeman
2019-11-11 12:23:34 -05:00
committed by Matt Cooley
parent 4c81ed83c7
commit 01299a92cd
8 changed files with 27 additions and 30 deletions

View File

@@ -640,9 +640,9 @@ namespace CalculationManager
if (pHistory)
{
pHistory->ClearHistory();
for (unsigned int i = 0; i < history.size(); ++i)
for (auto const& historyItem : history)
{
pHistory->AddItem(history[i]);
pHistory->AddItem(historyItem);
}
}
}