[apps/shared] Cartesian: PlotType can be a uint8_t instead of an int

This commit is contained in:
Émilie Feral
2019-09-04 14:26:10 +02:00
parent 065edbbf05
commit 9d335fdf99

View File

@@ -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