[apps/calculation] Fix member initialization order.

Change-Id: I16788edf23b9c2d70a781db5ad90ebfd67b926e7
This commit is contained in:
Léa Saviot
2018-04-20 18:01:34 +02:00
parent 5c2322a5a4
commit 6d7464707d
2 changed files with 3 additions and 3 deletions

View File

@@ -12,8 +12,8 @@ namespace Calculation {
EditExpressionController::ContentView::ContentView(Responder * parentResponder, TableView * subview, TextFieldDelegate * textFieldDelegate, ExpressionLayoutFieldDelegate * expressionLayoutFieldDelegate) :
View(),
m_mainView(subview),
m_expressionField(parentResponder, m_textBody, k_bufferLength, m_layout, textFieldDelegate, expressionLayoutFieldDelegate),
m_layout(new Poincare::HorizontalLayout)
m_layout(new Poincare::HorizontalLayout()),
m_expressionField(parentResponder, m_textBody, k_bufferLength, m_layout, textFieldDelegate, expressionLayoutFieldDelegate)
{
m_textBody[0] = 0;
}