2
0
mirror of https://github.com/boostorg/polygon.git synced 2026-02-13 12:42:12 +00:00

Polygon: fixing errors and warnings from trunk build summary.

[SVN r80361]
This commit is contained in:
Andrii Sydorchuk
2012-09-02 10:28:45 +00:00
parent 4d3a2c4801
commit 419a7fc637
2 changed files with 6 additions and 7 deletions

View File

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

View File

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