From 4a26900a0f4ff5e721b758bbabc4cf4efc12329f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Mon, 5 Aug 2019 10:16:04 +0200 Subject: [PATCH] [poincare] Test: fix build for device --- poincare/test/layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/test/layout.cpp b/poincare/test/layout.cpp index 1b7837604..aad8ea97b 100644 --- a/poincare/test/layout.cpp +++ b/poincare/test/layout.cpp @@ -76,7 +76,7 @@ QUIZ_CASE(poincare_layout_fraction_create) { * 12|34+5 -> "Divide" -> --- + 5 * |34 * */ - HorizontalLayout layout = static_cast(LayoutHelper::String("1234+5", 6)); + Layout layout = LayoutHelper::String("1234+5", 6); LayoutCursor cursor(layout.childAtIndex(2), LayoutCursor::Position::Left); cursor.addFractionLayoutAndCollapseSiblings(); assert_layout_serialize_to(layout, "\u0012\u001212\u0013/\u001234\u0013\u0013+5");