Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80361 - in trunk/boost/polygon: . detail
From: sydorchuk.andriy_at_[hidden]
Date: 2012-09-02 06:28:45


Author: asydorchuk
Date: 2012-09-02 06:28:45 EDT (Sun, 02 Sep 2012)
New Revision: 80361
URL: http://svn.boost.org/trac/boost/changeset/80361

Log:
Polygon: fixing errors and warnings from trunk build summary.
Text files modified:
   trunk/boost/polygon/detail/voronoi_structures.hpp | 7 +++----
   trunk/boost/polygon/voronoi_diagram.hpp | 6 +++---
   2 files changed, 6 insertions(+), 7 deletions(-)

Modified: trunk/boost/polygon/detail/voronoi_structures.hpp
==============================================================================
--- trunk/boost/polygon/detail/voronoi_structures.hpp (original)
+++ trunk/boost/polygon/detail/voronoi_structures.hpp 2012-09-02 06:28:45 EDT (Sun, 02 Sep 2012)
@@ -64,7 +64,7 @@
 // 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 @@
   SOURCE_CATEGORY_REVERSE_SEGMENT = 0x9,
 
   SOURCE_CATEGORY_GEOMETRY_SHIFT = 0x3,
- SOURCE_CATEGORY_BITMASK = 0x1F,
+ SOURCE_CATEGORY_BITMASK = 0x1F
 };
 
 bool belongs(
@@ -247,8 +247,7 @@
 
 private:
   enum Bits {
- SOURCE_CATEGORY_BITMASK = SOURCE_CATEGORY_BITMASK,
- IS_INVERSE = 0x20, // 32
+ IS_INVERSE = 0x20 // 32
   };
 
   point_type point0_;

Modified: trunk/boost/polygon/voronoi_diagram.hpp
==============================================================================
--- trunk/boost/polygon/voronoi_diagram.hpp (original)
+++ trunk/boost/polygon/voronoi_diagram.hpp 2012-09-02 06:28:45 EDT (Sun, 02 Sep 2012)
@@ -82,7 +82,7 @@
   // 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 @@
   // 5 color bits are reserved.
   enum Bits {
     BITS_SHIFT = 0x5,
- BITS_MASK = 0x1F,
+ BITS_MASK = 0x1F
   };
 
   coordinate_type x_;
@@ -256,7 +256,7 @@
     BIT_IS_PRIMARY = 0x2, // primary is opposite to secondary
 
     BITS_SHIFT = 0x5,
- BITS_MASK = 0x1F,
+ BITS_MASK = 0x1F
   };
 
   voronoi_cell_type* cell_;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk