diff --git a/include/boost/polygon/detail/voronoi_structures.hpp b/include/boost/polygon/detail/voronoi_structures.hpp index 5e8140d..4255421 100644 --- a/include/boost/polygon/detail/voronoi_structures.hpp +++ b/include/boost/polygon/detail/voronoi_structures.hpp @@ -64,7 +64,7 @@ private: // Represents topology type of the voronoi site. enum GeometryCategory { GEOMETRY_CATEGORY_POINT = 0x0, - GEOMETRY_CATEGORY_SEGMENT = 0x1, + GEOMETRY_CATEGORY_SEGMENT = 0x1 }; // Represents category of the input source that forms Voronoi cell. @@ -79,7 +79,7 @@ enum SourceCategory { SOURCE_CATEGORY_REVERSE_SEGMENT = 0x9, SOURCE_CATEGORY_GEOMETRY_SHIFT = 0x3, - SOURCE_CATEGORY_BITMASK = 0x1F, + SOURCE_CATEGORY_BITMASK = 0x1F }; bool belongs( @@ -247,8 +247,7 @@ public: private: enum Bits { - SOURCE_CATEGORY_BITMASK = SOURCE_CATEGORY_BITMASK, - IS_INVERSE = 0x20, // 32 + IS_INVERSE = 0x20 // 32 }; point_type point0_; diff --git a/include/boost/polygon/voronoi_diagram.hpp b/include/boost/polygon/voronoi_diagram.hpp index 3fc4dd7..45d75a0 100644 --- a/include/boost/polygon/voronoi_diagram.hpp +++ b/include/boost/polygon/voronoi_diagram.hpp @@ -82,7 +82,7 @@ private: // 5 color bits are reserved. enum Bits { BITS_SHIFT = 0x5, - BITS_MASK = 0x1F, + BITS_MASK = 0x1F }; source_index_type source_index_; @@ -129,7 +129,7 @@ private: // 5 color bits are reserved. enum Bits { BITS_SHIFT = 0x5, - BITS_MASK = 0x1F, + BITS_MASK = 0x1F }; coordinate_type x_; @@ -256,7 +256,7 @@ private: BIT_IS_PRIMARY = 0x2, // primary is opposite to secondary BITS_SHIFT = 0x5, - BITS_MASK = 0x1F, + BITS_MASK = 0x1F }; voronoi_cell_type* cell_;