diff --git a/apps/calculation/calculation_store.cpp b/apps/calculation/calculation_store.cpp index 72bc57d34..f1bb4b940 100644 --- a/apps/calculation/calculation_store.cpp +++ b/apps/calculation/calculation_store.cpp @@ -173,7 +173,7 @@ void CalculationStore::realDeleteCalculationAtIndex(int i) { // Delete the oldest calculation in the store and returns the amount of space freed by the operation size_t CalculationStore::deleteOldestCalculation() { char * oldBufferEnd = (char *) m_calculationAreaEnd; - deleteCalculationAtIndex(numberOfCalculations()-1); + realDeleteCalculationAtIndex(numberOfCalculations()-1); char * newBufferEnd = (char *) m_calculationAreaEnd; return oldBufferEnd - newBufferEnd; }