Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84223 - trunk/libs/geometry/doc/index/src/examples/rtree
From: adam.wulkiewicz_at_[hidden]
Date: 2013-05-10 09:01:48


Author: awulkiew
Date: 2013-05-10 09:01:47 EDT (Fri, 10 May 2013)
New Revision: 84223
URL: http://svn.boost.org/trac/boost/changeset/84223

Log:
geometry.index doc.examples: fixed compile error if size_t is not unsigned
Text files modified:
   trunk/libs/geometry/doc/index/src/examples/rtree/polygons_vector.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/geometry/doc/index/src/examples/rtree/polygons_vector.cpp
==============================================================================
--- trunk/libs/geometry/doc/index/src/examples/rtree/polygons_vector.cpp (original)
+++ trunk/libs/geometry/doc/index/src/examples/rtree/polygons_vector.cpp 2013-05-10 09:01:47 EDT (Fri, 10 May 2013)
@@ -60,7 +60,7 @@
     bgi::rtree< value, bgi::rstar<16, 4> > rtree;
 
     // fill the spatial index
- for ( size_t i = 0 ; i < polygons.size() ; ++i )
+ for ( unsigned i = 0 ; i < polygons.size() ; ++i )
     {
         // calculate polygon bounding box
         box b = bg::return_envelope<box>(polygons[i]);


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