From ef70f755dbbb35430e36fa5db7b3bff36f4b3d25 Mon Sep 17 00:00:00 2001 From: Howard Wolosky Date: Tue, 19 Mar 2019 01:45:33 +0400 Subject: [PATCH] Update src/CalcManager/CalculatorHistory.cpp indentation Co-Authored-By: Maharramoff <9804406+Maharramoff@users.noreply.github.com> --- src/CalcManager/CalculatorHistory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CalcManager/CalculatorHistory.cpp b/src/CalcManager/CalculatorHistory.cpp index 886ff434..9eea1068 100644 --- a/src/CalcManager/CalculatorHistory.cpp +++ b/src/CalcManager/CalculatorHistory.cpp @@ -41,7 +41,8 @@ unsigned int CalculatorHistory::AddItem(_In_ shared_ptr const &spHi } m_historyItems.push_back(spHistoryItem); -unsigned int lastIndex = static_cast(m_historyItems.size() - 1); + unsigned int lastIndex = static_cast(m_historyItems.size() - 1); + return lastIndex; return lastIndex; }