[apps/calculation] Correct constant expression types

Change-Id: Ida74f65af010536a63704cf505fca86acf27e496
This commit is contained in:
Émilie Feral
2016-10-27 12:15:36 +02:00
parent 54a29ef60c
commit ca0e47f44c
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ public:
private:
constexpr static int k_maxNumberOfDisplayedRows = 10;
constexpr static int k_resultHeight = 12;
constexpr static KDCoordinate k_resultHeight = 12;
HistoryViewCell m_calculationHistory[k_maxNumberOfDisplayedRows];
SelectableTableView m_selectableTableView;
CalculationStore * m_calculationStore;

View File

@@ -20,7 +20,7 @@ public:
void didBecomeFirstResponder() override;
bool handleEvent(Ion::Events::Event event) override;
private:
constexpr static int k_resultWidth = 80;
constexpr static KDCoordinate k_resultWidth = 80;
enum class SelectedView {
PrettyPrint,
Result