mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 06:13:14 -07:00
Update src/CalcManager/CalculatorHistory.cpp
fix: data type property Co-Authored-By: Maharramoff <9804406+Maharramoff@users.noreply.github.com>
This commit is contained in:
parent
9d0010bf48
commit
de0f36ff34
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ unsigned int CalculatorHistory::AddItem(_In_ shared_ptr<HISTORYITEM> const &spHi
|
||||||
}
|
}
|
||||||
|
|
||||||
m_historyItems.push_back(spHistoryItem);
|
m_historyItems.push_back(spHistoryItem);
|
||||||
return static_cast<unsigned>(m_historyItems.size() - 1);
|
unsigned int lastIndex = static_cast<unsigned>(m_historyItems.size() - 1);
|
||||||
|
return lastIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CalculatorHistory::RemoveItem(_In_ unsigned int uIdx)
|
bool CalculatorHistory::RemoveItem(_In_ unsigned int uIdx)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue