From 9d335fdf99fe3933652fd024f43ef19a8d9dca71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 4 Sep 2019 14:26:10 +0200 Subject: [PATCH] [apps/shared] Cartesian: PlotType can be a uint8_t instead of an int --- apps/shared/cartesian_function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shared/cartesian_function.h b/apps/shared/cartesian_function.h index be4c834b3..d6f242a85 100644 --- a/apps/shared/cartesian_function.h +++ b/apps/shared/cartesian_function.h @@ -20,7 +20,7 @@ public: Poincare::Expression expressionReduced(Poincare::Context * context) const override; static constexpr int k_numberOfPlotTypes = 3; - enum class PlotType { + enum class PlotType : uint8_t { Cartesian = 0, Polar = 1, Parametric = 2