From 41bb39846a1e166bfd9f2c86d1ac43a894e5314d Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Thu, 4 Oct 2018 19:04:53 +0200 Subject: [PATCH] Initialize enum value --- src/mesh/CellType.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesh/CellType.hpp b/src/mesh/CellType.hpp index 1f444323b..05bd8320e 100644 --- a/src/mesh/CellType.hpp +++ b/src/mesh/CellType.hpp @@ -3,7 +3,7 @@ enum class CellType : unsigned short { - Line, + Line = 0, Triangle, Quadrangle, @@ -14,4 +14,6 @@ enum class CellType : unsigned short Hexahedron }; + + #endif // CELL_TYPE_HPP -- GitLab