diff --git a/include/mapnik/vertex.hpp b/include/mapnik/vertex.hpp index c2493d0ca..597526d7b 100644 --- a/include/mapnik/vertex.hpp +++ b/include/mapnik/vertex.hpp @@ -24,11 +24,12 @@ #define MAPNIK_VERTEX_HPP #include +#include namespace mapnik { -enum CommandType { +enum CommandType : std::uint8_t { SEG_END = 0, SEG_MOVETO = 1, SEG_LINETO = 2, @@ -44,7 +45,7 @@ struct vertex { template struct vertex { - enum no_init_t { no_init }; + enum no_init_t : std::uint8_t { no_init }; using coord_type = T; coord_type x;