Update CalculatorHistory.h

This commit is contained in:
Alfonso Gregory 2021-07-14 20:00:26 -04:00 committed by GitHub
commit 5410e9a1be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,13 +33,13 @@ namespace CalculationManager
void ClearHistory();
unsigned int AddItem(_In_ std::shared_ptr<HISTORYITEM> const& spHistoryItem);
bool RemoveItem(unsigned int uIdx);
size_t MaxHistorySize() const
unsigned int MaxHistorySize() const
{
return m_maxHistorySize;
}
private:
std::vector<std::shared_ptr<HISTORYITEM>> m_historyItems;
const size_t m_maxHistorySize;
const unsigned int m_maxHistorySize;
};
}